mirror of
https://github.com/YunoHost/pepettes.git
synced 2024-09-03 20:06:20 +02:00
Add .env in readme
This commit is contained in:
parent
0932684afb
commit
beeafac510
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
@ -20,6 +20,29 @@ cd donate
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip3 install requirements.txt
|
pip3 install requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a .env file with :
|
||||||
|
```
|
||||||
|
PORT=8000
|
||||||
|
DEBUG=True
|
||||||
|
PROJECT_NAME=YunoHost
|
||||||
|
DOMAIN=http://localhost:8000
|
||||||
|
STATIC_DIR=assets
|
||||||
|
|
||||||
|
# Stripe keys
|
||||||
|
STRIPE_PUBLISHABLE_KEY=pk_test_gOgGjacs9YfvDJY03BRZ576O
|
||||||
|
STRIPE_SECRET_KEY=TO_REPLACE_BY_THE_GOOD_VALUE
|
||||||
|
|
||||||
|
# Stripe subscription data
|
||||||
|
ONE_TIME_EUR_DONATION=price_1IKuPVE7vOmTpJBiYMq7ztLH
|
||||||
|
RECURING_EUR_DONATION=price_1IKumjE7vOmTpJBikyqS2NqD
|
||||||
|
|
||||||
|
ONE_TIME_USD_DONATION=price_1IKuQfE7vOmTpJBi0A3nRGCJ
|
||||||
|
RECURING_USD_DONATION=price_1IKumAE7vOmTpJBiO4CEfa3Q
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
export FLASK_APP=server.py
|
export FLASK_APP=server.py
|
||||||
python3 -m flask run --port=8000
|
python3 -m flask run --port=8000
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue