Browse Source
Add docker note for development notes.
ansible-setup-and-deploy
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
10 additions and
2 deletions
-
README.md
|
|
@ -4,12 +4,19 @@ The [XPUB] library living at [Varia]. |
|
|
|
|
|
|
|
> https://books.vvvvvvaria.org/ |
|
|
|
|
|
|
|
[XPUB]: http://xpub.nl/#0/-128/128 |
|
|
|
[XPUB]: http://xpub.nl/ |
|
|
|
[Varia]: https://varia.zone/ |
|
|
|
|
|
|
|
# Hack It |
|
|
|
|
|
|
|
Install [Pipenv] and then run the development server with: |
|
|
|
You'll need to run an [RQLite] database first. It's easy with Docker: |
|
|
|
|
|
|
|
``` |
|
|
|
$ curl -sSL https://get.docker.com/ | sh |
|
|
|
$ docker run -p 4001:4001 -p 4002:4002 -d rqlite/rqlite |
|
|
|
``` |
|
|
|
|
|
|
|
Then get [Pipenv] and run the development server with: |
|
|
|
|
|
|
|
```bash |
|
|
|
$ pipenv install --dev --three |
|
|
@ -17,6 +24,7 @@ $ pipenv run dev |
|
|
|
``` |
|
|
|
|
|
|
|
[Pipenv]: https://pipenv.readthedocs.io/en/latest/install/#pragmatic-installation-of-pipenv |
|
|
|
[RQLite]: https://github.com/rqlite/rqlite |
|
|
|
|
|
|
|
# Deploy It |
|
|
|
|
|
|
|