Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Oct 11, 2022
2 parents b055827 + bed9d82 commit b01f65a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions docs/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ Note that you need to build from the project's source folder, e.g::
docker build -f extras/docker/demo/Dockerfile --tag wger/demo .


Production
----------

There is a configured docker compose file with all necessary services

https://github.com/wger-project/docker


Demo
----

Expand All @@ -27,6 +35,8 @@ Run a container and start the application::

Then just open http://localhost:8000 and log in as: **admin**, password **adminadmin**

Please note that the database will not be persisted when you update the image


Development
-----------
Expand All @@ -41,7 +51,6 @@ Get the image::
Run a container and start the application::

docker run -ti --name wger.dev --publish 8000:8000 wger/server
(in docker) source ~/venv/bin/activate
(in docker) python manage.py runserver 0.0.0.0:8000

Then just open http://localhost:8000 and log in as: **admin**, password **adminadmin**
Expand All @@ -59,8 +68,3 @@ your host machine and use docker only to serve it. Then do this::
It will mount the local path *on top* of the folder in the container. For this to
work you obviously need to manually checkout the code to ``/path/to/local/wger/``
and create a settings file as well.

Production
----------

The production docker compose setup can be found here: https://github.com/wger-project/docker
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sphinx==4.5.0
sphinx==5.2.3
sphinx-rtd-theme==1.0.0

0 comments on commit b01f65a

Please sign in to comment.