File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,18 @@ Install `Docker <https://www.docker.com/get-docker>`_ and `Docker Compose <https
3232
3333 docker-compose up
3434
35- # create super user
35+ # Start a bash/sh shell that you can intract with on the api contianer
36+ docker exec -it onadata-api-1 bash
37+
38+ # Make changes(add fields and models) to the database
3639 # -----------------
37- docker exec -it onadata_web_1 bash
40+ python3.9 manage.py migration
3841
39- # activate virtual envirenment
40- source /srv/.virtualenv/bin/activate
42+ # create super user
43+ # -----------------
44+ python3.9 manage.py createsuperuser
4145
42- python manage.py createsuperuser
46+
4347
4448 It should be accessible via http://localhost:8000. The settings are in
4549`onadata/settings/docker.py <onadata/settings/docker.py >`_.
You can’t perform that action at this time.
0 commit comments