Skip to content

IAmOnkarSawant/Socialet-web-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About
  • Social Media Workflow Tool product backend.
Setup Virtual Env
  1. pip install virtualenv in your shell.
  2. virtualenv myenv
  3. myenv/Scripts/activate to activate your env
For virtualenv to install all files in the requirements.txt file
  1. cd to the directory where requirements.txt is located
  2. activate your virtualenv
  3. run: pip install -r requirements.txt in your shell

Note:

  • If you are getting error for annoy install->

  • Substitute with annoy==1.17.0 instead of the given line. (annoy @ file:///E:/SWT/smwt-backend/myenv/Lib/site-packages/annoy/annoy-1.17.0-cp38-cp38-win_amd64.whl)

  • If fasttext installation gives errors (windows machines might get errors for VS build tools),

  • Download windows binary for your Python version from https://www.lfd.uci.edu/~gohlke/pythonlibs/

  • Save it in your env/Lib/site-packages/fasttext/ folder.

  • Substitute with fasttext==0.9.2 instead of the given line. (fasttext @ file:///E:/SWT/smwt-backend/myenv/Lib/site-packages/fasttext/fasttext-0.9.2-cp38-cp38-win_amd64.whl)

To Execute and Start Server

uvicorn main:app --reload

  1. ``
Check the API
  1. Visit localhost:8000/docs or localhost:8000/redocs to check the Documentation of the API.
Refer example files for understanding things.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%