Skip to content

rastal88/osnova_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osnova (backend)

Description

A template for speeding up the development of web applications. Backend part

Install

  1. Clone repository
  2. Install python 3.13.2
  3. Install requirements
  4. Install postgres

First run

  1. Create a database, connect to it and set an extension:
\c <db_name>
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
  1. Create .env and fill in your data according to the sample from .env.example
  2. Update the database
alembic revision --autogenerate -m "<info_massege>"
alembic upgrade head
  1. Create a root
python manage.py createroot

Run

python run.py --host <host> --port <port>
# or
./run.sh -h <host> -p <port>

About

a template for speeding up the development of web applications. Backend part

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published