seifscape / NRL-OTTAR-AsyncServer

Python3 - FastAPI | Uvicorn | Postgres | Asyncio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NRL-OTTAR-AsyncServer

Requirements:

  • Python 3.10
  • PostgresSQL 14.3
  • FastAPI
  • Docker
  • Docker

    $ docker-compose build
    $ docker-compose up -d
    [+] Running 3/3
     ⠿ Container ottar-asyncserver-db-1   Running      0.0s
     ⠿ Container ottar-asyncserver-api-1  Started      2.0s
     ⠿ Container pgadmin                  Running      0.0s
    

    Python3 ENV:

    cd proj_dir
    python3 -m venv env
    source env/bin/activate
    pip3 install -r requirements.txt

    deactivate:
    source env/bin/activate

    About

    Python3 - FastAPI | Uvicorn | Postgres | Asyncio


    Languages

    Language:Python 97.3%Language:Dockerfile 2.7%