Skip to content

lucianboboc/littlelemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run the app

1. Open the cloned project folder, setup a virtual environment and activate it

python3 -m venv venv
source venv/bin/activate

2. Install dependencies

pip3 install -r requirements.txt

3. Replace the .env file in the root folder with your db details

# .env
DB_NAME     = YOUR_DB_NAME
DB_HOST     = localhost
DB_PORT     = 3306
DB_USER     = YOUR_DB_USER
DB_PASSWORD = YOUR_DB_PASSWORD

4. Make migrations

python3 manage.py makemigrations

5. Migrate

python3 manage.py migrate

6. Run the app

python3 manage.py runserver

To run tests

python3 manage.py test tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published