Install the MikroWizard with the docker installation method #
Setting up dev mode #
Then To get started first clone our GitHub repo:
git clone https://github.com/MikroWizard/mikroman.git
cd mikroman
BashNow execute the following script to stop the production container and run in development mode.
./run-docker.sh
BashWith each change in the py, migrations folder the server will reload automatically if not you can execute the following command to force reload the server
it should executed from mikroman folder that you cloned
touch ./reload
BashExecuting tasks #
In development mode tasks because we are not running cron daemon will not work with each running, you need to manually execute a task to work.
Find the task ID from the database or network tools on your browser.
Attach to the docker container terminal by executing the following command
sudo docker exec -it mikroman-dev bash
#execute following command to run the task
python3 /app/py/task_run.py [taskid]
Bashreplace [taskid] with the id of the task you found