Skip to content

NewsWise-CMU/back-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

back-end

Notes

  • To run this project you will need to specify an openai API key in the environment under the name "OPENAI_API_KEY"
    • alternatively, you can provide this in an .env file in the project root directory

To Run Locally with hotswap

  • pip install -r requirements.txt
  • python -m uvicorn app.main:app --reload

See here for more details on installation

To Run Locally with Docker

  • docker build -t fake_news_be -f $(PWD)/dev.Dockerfile .
  • docker run -it -p 8000:8000 -v $(PWD)/app:/app/ fake_news_be

To Run with Docker

  • docker build -t fake_news_be .
  • docker run -p 80:80 fake_news_be

See here for more details on running this app using docker

API Docs:

Once running you can find the docs here:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •