diff --git a/.gitignore b/.gitignore index 2f77021..458936f 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ atomcms/logs/* !atomcms/cache/.gitkeep !atomcms/storage/.gitkeep !atomcms/logs/.gitkeep +*.env +nitro/*.json +!example-* \ No newline at end of file diff --git a/README.md b/README.md index 9c35c05..9975190 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,17 @@ This setup installs a complete local setup. Connecting externally requires editi | Nitro Client | http://127.0.0.1:3080 | game.example.com | ```sql -UPDATE emulator_settings SET `value`='*.mc8051.de' WHERE `key`='websockets.whitelist'; +UPDATE emulator_settings SET `value`='*.example.com' WHERE `key`='websockets.whitelist'; ``` ## Build +0. copy necessary files to work locally +The following command searches for all files starting with `example-`, copies the file and remove the `example-` prefix. If you don't have access to the find command, you can do it manually. + +```bash +find . -type f -name 'example-*' -exec sh -c 'cp -rf "$0" "${0/example-/}"' {} \; +``` + 1. Download the default assets > The `&& \` is used to combine multiple commands into a single line in a Unix-like command shell. By using && \, the two commands are executed sequentially and only if the first command succeeds. If the first command fails, the second command will not be executed, saving you from potential errors. diff --git a/.cms.env b/example-.cms.env similarity index 100% rename from .cms.env rename to example-.cms.env diff --git a/.env b/example-.env similarity index 100% rename from .env rename to example-.env diff --git a/nitro/renderer-config.json b/nitro/example-renderer-config.json similarity index 100% rename from nitro/renderer-config.json rename to nitro/example-renderer-config.json diff --git a/nitro/ui-config.json b/nitro/example-ui-config.json similarity index 100% rename from nitro/ui-config.json rename to nitro/example-ui-config.json