TheMinusWorld / Mayhem-Whereabouts

Master repository for the Mayhem Whereabouts software
GNU Affero General Public License v3.0
0 stars 1 forks source link

Set up platform #12

Open wtl420 opened 4 years ago

wtl420 commented 4 years ago

The basic platform as discussed in #2 will essentially be a docker container on local machines and a VM on on production that will be configured via tooling to be as identical as possible.

An ansible playbook should be portable enough to be used for both The docker image should install everything needed to get that playbook running and then run the playbook. An additional shell script should then be created based on the docker file to deploy on a production image when doing initial deployment.

The ansible playbook should cover the following:

A second playbook should be created just for the development environment:

The docker container should also mount the source code for the back-end and front-end as well in a way where developers can update the code and the code will be updated on the image without any need for explicitly copying files over to the container.

Tools should be created to simplify launching this and the tools.

Everything should be documented in the platform/README.md as well.