Skip to content

oladimillion/favorite-be

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Favorite

Commands

Use the below make commands run the application

pip3 install virtualenv

virtualenv is needed setup the development environment

virtualenv env

To create the development environment

source env/bin/activate

To activate the development environment

make install

To install all dependencies

make migrations

To create migration files

make migrate

To create db tables

make seed-category

To seed category data into the database

make start

To start the development server

make pytest OR make test

To run the test

make freeze

To update the requirements.txt file

make dumbdata

To save db data into db.json file

make loaddata

To load db.json data into db

deactivate

To deactivate the development environment

Checkout the frontend application @ https://github.com/oladimillion/favorite-fe