Merge pull request #2 from cotester/local_setup

Local setup
This commit is contained in:
Muslem Rahimi 2024-07-02 11:35:47 +02:00 committed by GitHub
commit 9a6b975187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 36 additions and 2 deletions

3
.gitignore vendored
View File

@ -11,4 +11,5 @@ app/ml_models/weights
app/json/*
fastify/node_modules
pocketbase/*
helper.txt
helper.txt
env/*

View File

@ -26,7 +26,38 @@ Built with:
- [Redis](https://redis.io/): Caching Data
# Getting started
Coming soon to run stocknear locally on your machine.
Follow the instructions below to run stocknear locally on your machine.
## Prerequisites & Resources
* Python 3.x (Recommended: 3.10.12 or higher)
* Pip (Python package installer)
* PocketBase (Download and install from: https://pocketbase.io/
* Download schemas, databases and configurations files:
* stocks.db [TODO - add link]
* crypto.db [TODO - add link]
* institute.db [TODO - add link]
* json.zip folder [TODO - add link]
* pocketbase schema [TODO - add link]
## Installation
1. **Set up virtual env:**
`python -m venv env`
`source env/bin/activate` # On macOS/Linux
`.\env\Scripts\activate` # On Windows
2. **Install dependencies:**
`pip install -r requirements.txt`
## Run
`python .\app\main.py`
# Contributing
Stocknear is open-source software and you're welcome to contribute to its development.

View File

@ -1,3 +1,5 @@
benzinga
urllib3==1.26.18
yfinance
datetime
pandas