Coder Social home page Coder Social logo

komroom's Introduction

Komroom

Step 1

remote this repo

git clone

Step 2

make virtual enviroment

python -m venv .env

Step 3

Configure .env file

DATABASE_PORT=5432
POSTGRES_PASSWORD=
POSTGRES_USER=postgres
POSTGRES_DB=komroom
POSTGRES_HOST=postgres
POSTGRES_HOSTNAME=127.0.0.1

Step 4

run the envirotment first and then run the server using uvicorn. In here I'm using linux to run the enviroment

source env/bin/activate
uvicorn app.main:app --host localhost --port 8000 --reload

Step 5

Alembic Command

Below are some important Alembic commands you should know:

  • init – prepares the project to work with alembic
  • upgrade – upgrade the database to a later version
  • downgrade – revert to a previous version
  • revision – creates a new revision file

komroom's People

Contributors

imrbp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.