A web application to guide farmers through different agriculture practices. This project includes:
- A main
web portal
which can be updated dynamically through an admin interface. - A
forum/discussion
app for general purpose discussions.
Requirements:
- Python 3 runtime
- Pip
- Django 2.1.5
- Other dependencies in
Pipfile
Procedure:
- Install python in your environment(pre-installed on Ubuntu).
- Navigate to the cloned repository.
cd <project_directory_name> # agrisync
- Install dependencies
pip3 install pipenv pipenv install --dev
- Create a new virtual environment and activate it.
source "$(pipenv --venv)"/bin/activate
- Copy
.env.example
to.env
cp .env.example .env
- Change to
src
directorycd src
- Make database migrations
python manage.py makemigrations python manage.py migrate
- Create a superuser
python manage.py createsuperuser
- Run development server on localhost
python manage.py runserver