Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

411 University St, Seattle, USA

+1 -800-456-478-23

Development env for backend (mikroman)

Install the MikroWizard with the docker installation method #

Setting up dev mode #

Then To get started first clone our GitHub repo:

Bash
git clone https://github.com/MikroWizard/mikroman.git
cd mikroman
Bash

Now execute the following script to stop the production container and run in development mode.

Bash
./run-docker.sh
Bash

With 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

Bash
touch ./reload
Bash

Executing 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

Bash
sudo docker exec -it mikroman-dev bash
#execute following command to run the task
python3 /app/py/task_run.py [taskid]
Bash

replace [taskid] with the id of the task you found