This is a project for team 162,we are creating a solution that will give local farmers access to advanced farming practices. This involves offering expert advice and platform for discussions.
This project is born out of farmers lacking necessary information to engage in better informed farming activities.
This is Python 3/ Django 3.0
project implementation. Necessary prerequisites are necessary to support the development
, testing and deployment of the project.
Install Python 3.0 from Python download page
The project requirements have defined in the requirements.txt file.
pip install -r requirements.txt
Simply run the development server in the project root;
python manage.py runserver
To run the application for the first time after cloning:
# Make migrations
python manage.py makemigrations
# Apply migrations
python manage.py migrate
# Create super user
python manage.py createsuperuser
# Load initial default data (if present) in the fixtures directory
python manage.py loaddata fixture
# runserver
python manage.py runserver
The tests are ran with the help of py.test;
pytest
The following are the authors of this awesome solution;
To contribute to the project, kindly go through the CONTRIBUTING.md
guidelines for more information.
- All development work should be from a branch targeting the
dev
branch as the main development target. - All test across the project MUST be running for the work to be accepted.
- Maintain tests coverage of at least 85% with your feature contributions.