diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2b30af --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +framework +vendor +composer.lock diff --git a/_config.php b/_config.php new file mode 100644 index 0000000..4eeb925 --- /dev/null +++ b/_config.php @@ -0,0 +1,24 @@ +find(false); + + $root = SERVE_ROOT; + $host = SERVE_HOST; + $port = SERVE_PORT; + + print "Server running at http://{$host}:{$port}\n"; + + passthru("'{$bin}' -S {$host}:{$port} -t '{$root}' '{$path}/server.php'"); + } +} diff --git a/code/server.php b/code/server.php new file mode 100644 index 0000000..82b07a0 --- /dev/null +++ b/code/server.php @@ -0,0 +1,14 @@ +