-
Notifications
You must be signed in to change notification settings - Fork 21
Development Environment
One of our concerns was to create an easy way to start a development server, so everyone interested can easily contribute with this project. We also aim to make the deploy of this application as painless possible for everyone who desires one instance of Jandig ARte.
Our main tool for reach all goals above is Docker and Docker-Compose. With Docker we can start our entire environment with a single command and also isolate the development environment from your physical machine (this also help our deployment).
After installing docker and docker-compose on your machine, running Jandig ARte should be run with:
$ docker-compose up
We use Django as our web framework to manage our backend logic. However the standard Django development server runs with HTTP and we use WebRTC protocol (that demands an secure connection) to access the camera in a device we need a HTTPS server. To run a HTTPS server locally we use Django SSL-Server and it works very well for WebRTC protocol but service workers that are used to implement the PWA features do not accept this local HTTPS with a self-signed certificate and at this moment service workers can only be tested on a production HTTPS server.