|
3 years ago | |
---|---|---|
Models | 3 years ago | |
Modules | 3 years ago | |
Style | 3 years ago | |
Templates | 3 years ago | |
app | 3 years ago | |
lib | 3 years ago | |
spec | 3 years ago | |
.gitignore | 3 years ago | |
App.cs | 3 years ago | |
CompilerException.cs | 3 years ago | |
Dimensions.cs | 3 years ago | |
Grid.cs | 3 years ago | |
IGrid.cs | 3 years ago | |
IShapeFinder.cs | 3 years ago | |
LICENSE | 3 years ago | |
NancyDemo.csproj | 3 years ago | |
OriginalSnippet.cs | 3 years ago | |
README.md | 3 years ago | |
Shape.cs | 3 years ago | |
ShapeFinderCompiler.cs | 3 years ago | |
ShapeFinderTester.cs | 3 years ago |
WARNING THIS WEBSITE COMPILES USER SUBMITTED C# CODE. IF YOU RUN THIS ON A PUBLIC SERVER, THERE'S A GOOD CHANCE YOU WILL BE HACKED.
Make sure msbuild is in your path. If it isn't something like this should work.
C:\path\to\GridPuzzle> set PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;%PATH%
Now just build the project and start the web server.
C:\path\to\GridPuzzle> msbuild.exe
C:\path\to\GridPuzzle> bin\GridPuzzle.exe
With Mono on Linux, you should be able to run the following.
$ xbuild
$ mono bin/GridPuzzle.exe
If everything went well, you should now have a site on localhost:8888