Skip to content

jaypee-solutions/Nutria-DB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nutria-DB

Food database.

Installation

For development first clone this repository and enter the Folder.

cd Nutria-DB

Then create a virtual environment:

python -m venv env
source env/bin/activate

Now install the dependencies:

pip install -r requirements.txt

This is sufficient for development. If you want to use Nutria-DB with Maria for production you need to install the appropriate database client:

pip install mysqlclient

Now you can set up your database:

cd nutriaDB
python manage.py migrate
python manage.py createsuperuser
python manage.py initial_data

The last command populates your database with food data from the fixtures in the repository.

Run the development server with:

python manage.py runserver

About

Food database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%