dsmurl / the-system-controller-4

This is the working code of the System Conroller V4 designed for grass roots industrial systems management.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Improving deployment #43

Closed rgreinho closed 9 years ago

rgreinho commented 9 years ago

Pin versions in requirements.txt

The dependency versions were pinned in the requirements.txt file. A test-requirements.txt file was created to separate the dependencies required to run the application from the other packages used to test or package it.

Dockerize the application

Dockerizing the application offers a lot of benefits:

Vagrant is used to test the deployment of the project using the ansible playbook.

Create Ansible playbook and role for deploying

An ansible playbook was setup to easy the deployment of the application on the BeagleBone.

The role thesystemcontroller prepares the environment by installing all the required packages and starting the application via a gunicorn server.

Add CONTRIBUTION guidelines

The contribution guidelines will help contributor to setup their environment and provide direction to have their submission merged into the main repository.

A new section explaining how to deploy the application with ansible and test it using a VM was added.

rgreinho commented 9 years ago

@dsmurl I replaced RobotGardener with TheSystemController everywhere, updated the documentation and PR accordingly.

dsmurl commented 9 years ago

Looks good. I'm going to merge it and we can look into either a emulator for the pins or a way to deploy or develop on the BB to use the pins later. Thanks for the development thoughts.