mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-01 18:19:08 +00:00
Update README.md
This commit is contained in:
parent
309d28c3d9
commit
60b5383847
1 changed files with 1 additions and 9 deletions
10
README.md
10
README.md
|
@ -77,15 +77,7 @@ Now lets setup the SurfSense BackEnd
|
|||
2. Go to ./backend subdirectory.
|
||||
3. Setup Python Virtual Environment
|
||||
4. Run `pip install -r requirements.txt` to install all required dependencies.
|
||||
5. Update/Make the required Environment variables in .env
|
||||
|
||||
|ENV VARIABLE|Description |
|
||||
|--|--|
|
||||
| UNSTRUCTURED_API_KEY | Your Unstructured IO API Key. Use any value if running a local instance or file upload support isn't needed.|
|
||||
| POSTGRES_DATABASE_URL | postgresql+psycopg2://user:pass@host:5432/database|
|
||||
| API_SECRET_KEY | Can be any Random String value. Make Sure to remember it for as you need to send it in user registration request to Backend for security purposes.|
|
||||
|
||||
|
||||
5. Update/Make the required Environment variables in .env following the .env.example
|
||||
6. Backend is a FastAPI Backend so now just run the server on unicorn using command `uvicorn server:app --host 0.0.0.0 --port 8000`
|
||||
7. If everything worked fine you should see screen like this.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue