Boilerplate for an authentication workflow
Detailed documentation you can find at http://auth-boilerplate.readthedocs.io.
Morepath REST server
From inside the project directory create a clean Python environment with virtualenv and activate it:
virtualenv -p python3 env source env/bin/activate
After this you can install the package including dependencies using:
(env) $ pip install -Ue .
Once that is done you can start the server:
(env) $ gunicorn server.run
You can go to http://localhost:8000 to see the UI.
Cerebral React client
to install them. Then run:
npm run build
To rebuild the bundle after changing it.
If you want to rebuild the bundle and immediately after start the server you can use:
If you want to create a pull request, this is the workflow:
- Fork the repository on GitHub and clone it.
- Checkout a new branch.
git checkout -b patch-1
- Make the changes you want.
- Add them to git.
git add .
- For making commits use the following cli which will guide you.
npm run commit
- Push the changes.
git push --set-upstream origin patch-1
- Create the pull request on GitHub.