Nitro docker is a quick-to-setup docker dev environment. It can be run on Windows, Linux or OSX just with a few commands
- Install
just
from here: https://github.com/casey/just#installation - Install docker desktop (and for windows, enable WSL support) from here: https://www.docker.com/get-started/
- Clone this repository
- Execute the following commands inside cloned repository
just install
just start-all
- Wait 5/10 minutes (it's important)
- Once nitro accessible on http://127.0.0.1:1080?sso=123
- you can extract all assets easily with the command
just extract-nitro-assets
just restart-arcturus
: restart arcturus emulatorjust restart-nitro
: restart nitro dev server (Craco in nitro-react)just watch-arcturus
: watch the emulator outputjust watch-nitro
: watch the nitro dev server outputjust --list
: display all usefull commands <3
Mysql server use these credentials:
- MYSQL_ROOT_PASSWORD=arcturus_root_pw
- MYSQL_USER=arcturus_user
- MYSQL_PASSWORD=arcturus_pw
- MYSQL_DATABASE=arcturus
The first database come from mysql/dumps, it's the base Arcturus database for 3.0.X with just a default SSO ticket (123).
- Arcturus is stored in emulator/arcturus, it's just a submodule from krews.git. Each time you run the nitro-arcturus image, each time the emulator is recompiled. You can recompile manualy with the command
just recompile-arcturus
. - The NitroWebSocket plugin is already added
- All the configuration can be found in
emulator/config.ini
- Nitro is the folder for nitro dev server, assets, swf, converters...
- The nitro-image contains 3 server: assets server (for all *.nitro files), swf server from morningstar (who contain all current useful SWF) and nitro-dev server on nitro-react.
- All extracted assets come from nitro-swf and will be extracted in nitro-assets (the nitro converter use the swf server)
- All the configurations for nitro-react are in
nitro/configuration
. If you make some change, just makejust restart-nitro