Skip to content

TextCourses/python-aqa-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the Application

Install PostgreSQL 16:

sudo apt update 
sudo apt install -y postgresql-16
sudo pg_ctlcluster 16 main start

Alter user postgres in postgres command line:

ALTER USER postgres WITH PASSWORD 'postgres';

Create database for application:

CREATE DATABASE django_rest;

Create .env file in project root dir and add row:

POSTGRES_PASSWORD = "postgres"

Install python requirements:

pip install -r requirements.txt

Create the DB tables first:

python app/manage.py migrate

Run the development web server:

python app/manage.py runserver 8080

Open the URL http://localhost:8080/ to access the application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages