diff --git a/.eslintignore b/.eslintignore index 5db3e80..76fd6af 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,9 +1,8 @@ # possibly minified output -js -out +out/**/* # libraries -jssrc/lib +js/lib/* # php generated file -jssrc/lang.js +js/lang.js diff --git a/.gitignore b/.gitignore index 744d0a9..0de9aaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ _env.php -js/* -css/* out/* !.gitkeep node_modules/ diff --git a/README.md b/README.md index 83861f9..a0e5ebf 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ PHP is used to build the HTML files and apply substitutions. ## Development -JavaScript source files can be found in the `jssrc/` folder, SASS +JavaScript source files can be found in the `js/` folder, SASS files in the `sass/` folder. Fontello (icon font) is maintained in the `fontello/` folder. To update Fontello, replace @@ -20,7 +20,7 @@ the `fontello.zip` file and run `unpack.sh` in the same folder. This will extrac from the zip file and put them into the `sass/` folder to be included with the other styles. To test you changes (after building JS and CSS), run a PHP local server in the project -directory using the `server.sh` script or by a command like `php -S 0.0.0.0:2000`. +directory using the `server.sh` script or by a command like `php -S 0.0.0.0:2000 _dev_router.php`. Template substitutions (that are normally done by the ESPTerm's webserver) applied to the files fior testing can be defined in `_debug_replacements.php`. diff --git a/_dev_router.php b/_dev_router.php new file mode 100644 index 0000000..641c482 --- /dev/null +++ b/_dev_router.php @@ -0,0 +1,13 @@ +