/NRL-OTTAR-AsyncServer

Python3 - FastAPI | Uvicorn | Postgres | Asyncio

Primary LanguagePython

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