Skip to content

madicorp/wafa

Repository files navigation

WAFA Fertilizer

A wagtail App

Requirements

Python >= 2.7

Install work environment

if virtualenv is not installed

pip install virtualenv

Create virtualenv

virtualenv venv

Install dependencies

pip install -r requirements.txt

Activate venv

source venv/bin/activate

Launch locally

Set env file from .env.sample

Launch locally

./manage.py migrate
./manage.py createsuperuser

lauch server
./manage.py runserver

Deployed on http://127.0.0.1:8000/
Admin page accessible at http://127.0.0.1:8000/admin/

Update model

./manage.py makemigrations
./manage.py migrate

Update i18n

./manage.py compilemessages