Add docker note for development notes.

This commit is contained in:
Luke Murphy 2018-11-18 11:14:52 +01:00
parent b20e880db3
commit d99ca13ab4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -4,12 +4,19 @@ The [XPUB] library living at [Varia].
> https://books.vvvvvvaria.org/ > https://books.vvvvvvaria.org/
[XPUB]: http://xpub.nl/#0/-128/128 [XPUB]: http://xpub.nl/
[Varia]: https://varia.zone/ [Varia]: https://varia.zone/
# Hack It # 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 ```bash
$ pipenv install --dev --three $ pipenv install --dev --three
@ -17,6 +24,7 @@ $ pipenv run dev
``` ```
[Pipenv]: https://pipenv.readthedocs.io/en/latest/install/#pragmatic-installation-of-pipenv [Pipenv]: https://pipenv.readthedocs.io/en/latest/install/#pragmatic-installation-of-pipenv
[RQLite]: https://github.com/rqlite/rqlite
# Deploy It # Deploy It