-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
# Wolfeye API | ||
|
||
This is the repository for the Wolfeye API. | ||
It is made to run with Traefik as a reverse proxy. | ||
|
||
## Local dev | ||
|
||
This requires a Redis server listening in local. | ||
|
||
Quickstart dev windows (using powershell): | ||
``` | ||
python -m venv venv | ||
.\venv\Scripts\Activate.ps1 | ||
pip install -r requirements.txt | ||
$env:FLASK_APP = "main" | ||
$env:FLASK_ENV = "development" | ||
$env:REDIS_HOST = "localhost" | ||
flask run | ||
``` | ||
|
||
Quickstart dev linux: | ||
``` | ||
python -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
export FLASK_APP="main" | ||
export FLASK_ENV="development" | ||
export REDIS_HOST="localhost" | ||
flask run | ||
``` |