forked from 3wordchant/capsul-flask
explain how to give yourself money when doing quickstart
This commit is contained in:
parent
bdabd61057
commit
fdab832268
@ -43,6 +43,14 @@ Run the app in gunicorn:
|
|||||||
pipenv run gunicorn --bind 127.0.0.1:5000 -k gevent --worker-connections 1000 app:app
|
pipenv run gunicorn --bind 127.0.0.1:5000 -k gevent --worker-connections 1000 app:app
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Once you log in for the first time, you will want to give yourself some free capsulbux so you can create fake capsuls for testing.
|
||||||
|
|
||||||
|
Note that by default when running locally, the `SPOKE_MODEL` is set to `mock`, meaning that it won't actually try to spawn vms.
|
||||||
|
|
||||||
|
```
|
||||||
|
pipenv run flask cli sql -c "INSERT INTO payments (email, dollars) VALUES ('<your email address here>', 20.00)"
|
||||||
|
```
|
||||||
|
|
||||||
## configuration:
|
## configuration:
|
||||||
|
|
||||||
Create a `.env` file to set up the application configuration:
|
Create a `.env` file to set up the application configuration:
|
||||||
|
Loading…
Reference in New Issue
Block a user