Ager (Latin for field) is a web solution for agriculture SMEs to transition to net zero carbon emissions. Ager allows SMEs to gain advice on how to launch a new green business or how to change their existing business to a green business. Ager also enables SMEs to see government incentives and funding to help achieve net zero as outlined by COP26. Additionally, ager provides a curated list of trusted suppliers with massive rewards and savings when purchasing supplies for your agricultural needs. Finally, there is a login option to create an account enabling you to connect with lenders, farmers and land owners who are working to achieve net zero.
- HTML5
- CSS3
- JAVASCRIPT
- PYTHON
- DJANGO
- SQLITE3
The installation requires Python 3
.
- Clone repository
- If you have
make
installed in your machine (default on Linux, see here for Windows and here for Mac), then just runmake run
on the project folder. This will automatically install all dependencies, generate a secret key (See SECRET KEY STORING to see what to do to keep it safe), make migrations and run the server onlocalhost:8000
.
We understand that make
is not so easy to install for Windows users, so there is the following alternative using Python's pipenv
that needs to be installed in the usual way:
pip install pipenv
- On the projec folder run the followin sequence of commands:
pipenv install
to install all dependencies.pipenv secret_key
to generate the secret key and save it tobackend/settings.py
(see what you should do with this in SECRET KEY STORING).pipenv migrations
followed bypipenv migrate
to make databe migrations.pipenv start
to run the server onlocallhost:8000
.
We are using Django's default SQLite3 database so there is no need to set up any particular database..
- Create an
.env
file on the project folder. - Open it and type
SECRET_KEY = you_secret_key
, whereyour_secret_key
is the string assigned to the variableSECRET_KEY
inbackend/settings.py
. - Once you have done this, replace the value of
SECRET_KEY
inbackend/settings.py
byconfig('SECRET_KEY')
.
- Creating a mobile app.
- Improving the shopping cart API.
Design: https://www.figma.com/file/jtugOFuf5nK6yGN6oIUuUD/Ager?node-id=0%3A1&t=JfsLMfo5u4tFwcCm-0
Development: https://deploy-preview-6--ager-minihack.netlify.app/
- Javier
- Selaelo
- Jasum