Skip to content

leirons/CompanyBackend

Repository files navigation

Company App

About Project

...

How to run

Docker

docker build -t fastapi
docker run -d --name your name of container -p 8000:8000 fastapi

Another way -

  • Create .env file in root directory
PORT=your
HOST=your
DEBUG=Your

Windows

1 - virtualenv myenv
2 - myenv\Scripts\activate
3 -  pip3 install -r requirements.txt
4 - uvicorn app.server:app

Linux

1 - python3 -m venv venv 
2 - source venv/bin/activate
3 -  pip3 install -r requirements.txt
4 - uvicorn app.server:app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published