Understanding the health of a farm based on soil organic carbon content
Tambua Shamba
A project to collect and preview soil organic carbon performance in farms across Kenya
>For an overview of what this product is about: marvinkweyu/projects/tambua-shamba
- Local Development
- Production environment(WIP)
- Developer notes
- Project improvements
## Local Development
Copy the docker environment variables from *.env.example* to *.env.dev*.
```bash
cp .env.example .env.dev
```
Copy project env variables
```bash
cp .env.dev tambuashamba_server/tambuashamba/config/.env
```
To run the project in development mode, run the below at the root:
```bash
docker-compose up
```
Access the client application on: **127.0.0.1:4200** and the server-side application on **127.0.0.1:8000/api/v1/docs**
Upload a file from the **test_files** directory to store and render farms onto the map
**To clean up the system**:
```bash
docker-compose down --volumes
```
## Production environment(WIP)
## Developer notes
## Project improvements
- [ ] Add authentication for specific users to access the resources.
- [ ] Intergration of asynchronous tasks.
Use celery and rabbitMQ to update farms from the CSV asynchronously.
- [ ] Download a file previously uploaded
- [ ] Paginate the files listed
- [ ] List and search for farms accepted under a specific file uploaded
- [ ] Search for a file by title or filter by date
- [ ] Search for a farm from the home page. The user should be able to zoom in on a farm with the name searched.