Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ovsundal/langchain-pdf
https://github.com/ovsundal/langchain-pdf
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ovsundal/langchain-pdf
- Owner: ovsundal
- Created: 2024-01-07T21:31:39.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-01-21T21:08:20.000Z (10 months ago)
- Last Synced: 2024-01-21T22:23:54.263Z (10 months ago)
- Language: Python
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# First Time Setup
```
# Create a virtual environment
python -m venv .venv# On MacOS, WSL, Linux
source .venv/bin/activate# On Windows
.\.venv\Scripts\activate# Install dependencies
pip install -r requirements.txt# Initialize the database
flask --app app.web init-db
```# Running the app
There are three separate processes that need to be running for the app to work: the server, the worker, and Redis.
If you stop any of these processes, you will need to start them back up!
Commands to start each are listed below. If you need to stop them, select the terminal window the process is running in and press Control-C
### To run the Python server
```
inv dev
```### To run the worker
```
inv devworker
```### To run Redis
```
redis-server
```### To reset the database
```
flask --app app.web init-db
```