Start it up
===========
-For a production environment setup, first read / edit `env/prod.env`, then::
+To start the application ONLY for testing or developing purposes::
docker-compose up
Then browse the app at http://localhost:8000/ (replacing 'localhost' by the IP given by the docker terminal on OSX or Windows)
-To start the application in DEBUG mode::
+Note that the service will automatically be reloaded when any code of the app is modified.
+
+For a production environment setup, first read / edit `env/prod.env`, then::
+
+ docker-compose -f docker-compose.yml -f env/prod.yml up
+
+This will provide the uwsgi port 8000 for which you should setup an exernal Nginx server using uwsgi_pass.
- docker-compose -f docker-compose.yml -f env/debug.yml up
+You can also use the nginx container like this::
+
+ docker-compose -f docker-compose.yml -f env/prod.yml -f env/nginx.yml up
Be **CAREFULL** in production:
Development
===========
-To start the application in a development environment setup, first read / edit `env/debug.env`, then::
-
- cd Telemeta
- git pull
- git checkout dev
- docker-compose -f docker-compose.yml -f env/dev.yml up
-
-Then browse the app at http://localhost:9100/ (replacing 'localhost' by the IP given by the docker terminal on OSX or Windows). Note that the service will automatically be reloaded when any code of the app is modified.
-
You are welcome to participate to the development by forking the Telemeta project on GitHub_, using it as if it were the original and submitting your changes through a Pull Request on the **dev branch ONLY**.