-
Notifications
You must be signed in to change notification settings - Fork 1
Testing this project locally
Christophe Verclytte edited this page Jul 21, 2020
·
2 revisions
On your personal GitHub account, create a fake repo representing an app, for example nestor-app-1
.
On your GitHub account, go to "Settings -> Developper Settings -> Personal access tokens" and create a new token. Store the token value that will be used later
Locally, create a repo (or just a folder) that will configure your Nestor deployment
Add a project.yaml
with appropriate configuration (demo will be provided soon).
Create an apps/
folder and add a nestor-app-1.yaml
file with the configuration of your app.
Run the following command:
> pipenv run bash
> NESTOR_CONFIG_PATH='<path_to_your_local_nestor_configuration_repo>' NESTOR_GITHUB_TOKEN="<your_personal_access_token>" FLASK_APP='./nestor_api/api/wsgi.py' pipenv run flask run