Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
upd doc
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxMaSk committed Oct 26, 2017
1 parent c508176 commit e8b1fb6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README_docker.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Docker for Trigger Happy
# Docker for Trigger Happy

This is very very early stage for docker support
but this should do the trick until next time, based on https://docs.docker.com/engine/reference/commandline/build/ and https://docs.docker.com/compose/django/ and a bit of https://hub.docker.com/_/django/
Expand All @@ -19,6 +19,7 @@ docker-compose up

```
docker-compose run web python manage.py migrate --settings=django_th.settings_docker
docker-compose run web python manage.py initial_services --settings=django_th.settings_docker
docker-compose run web python manage.py createsuperuser --settings=django_th.settings_docker
```

Expand Down
26 changes: 26 additions & 0 deletions docs/installation_guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,29 @@ Advice
------

If you plan to setup Trigger Happy for you and a group of friends, I suggest you to install https://www.intenct.nl/projects/django-allauth/

Database
========

bootstrap the database

.. code-block:: bash
python manage.py migrate
python manage.py createsuperuser
Load the initial services:

.. code-block:: bash
python manage.py loaddata initial_services
Start the application
=====================

.. code-block:: bash
python manage.py runserver &
Now open your browser and go to http://127.0.0.1:8000/th/ to start using the application by logged in

0 comments on commit e8b1fb6

Please sign in to comment.