Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emmanuelaaron/emmanuel-isabirye

Destribution of farmers in uganda
https://github.com/emmanuelaaron/emmanuel-isabirye

Last synced: 22 days ago
JSON representation

Destribution of farmers in uganda

Awesome Lists containing this project

README

        

# Destribution of Farmers in Uganda perdistrict

## Getting Started
### Prerequisites and local storage
Developers contributing to this product should have the following installed on their local machines
- python3
- pip
- node
- virtualenv

#### Backend
- cd into the Emmanuel Isabirye directory

`$ cd Emmanuel Isabirye`
- create a virtual environment and activate it using the command below

`$ virtualenv venv `

`$ source venv/Scripts/activate`
- Install all the dependencies within the requirements file using the command below

`$ pip install -r requirements.txt`
- To Run the application use the following commands

`$ export FLASK_APP=flaskr`
`$ export FLASK_ENV=development`
`$ flask run`
By default the applucation is run on http://127.0.0.1:5000/

### Frontend
- cd into the front_end directory

`$ cd front_end`
- Install all the dependencies using the command below
`$ npm install`
- Then run the server using the command below
`$ npm start`
- You should be able to see the number of farmers per district

### Authors
Emmanuel Isabirye