Gromari is an app that allows for the management of plant grow rooms. Each room has a list of plants and equipment contained within. A journal system is available to track plant progress, watering, fertilization, etc. Tags are used to organize grow activites. Gromari is written in Python using Django.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The app is built using Docker containers and the docker-compose utility.
Docker can be obtained here: https://www.docker.com/get-started
Docker Compose is available here: https://docs.docker.com/compose/
Clone the repository and change directory into the root for the source.
You will need to make 2 environment files and place them in the root of the source directory. Name the first file postgres-variables-dev.env and add the following line:
POSTGRES_PASSWORD=putYourPostgresPasswordHere
Name the second file web-variables-dev.env and add the following lines:
PYTHONUNBUFFERED=1 DATABASE_NAME=postgres DATABASE_USER=postgres DATABASE_PASSWORD=putYourPostgresPasswordHere DATABASE_HOST=db DJANGO_SETTINGS_MODULE=gromari.settings
From within the source code directory run the following command:
docker-compose -f docker-compose.yml up
docker exec gromari-web coverage run --source='.' manage.py test --noinput
- Randy Olive - Design & Code