Merge branch 'master' of github.com:tsileo/microblog.pub
This commit is contained in:
commit
5c59a68cca
2 changed files with 5 additions and 3 deletions
|
@ -68,7 +68,6 @@ Activities are verified using HTTP Signatures or by fetching the content on the
|
|||
$ git clone https://github.com/tsileo/microblog.pub
|
||||
$ cd microblog.pub
|
||||
$ pip install -r requirements.txt
|
||||
$ make css
|
||||
$ cp -r config/me.sample.yml config/me.yml
|
||||
```
|
||||
|
||||
|
@ -107,9 +106,10 @@ The most convenient way to hack on microblog.pub is to run the server locally, a
|
|||
# One-time setup
|
||||
$ pip install -r requirements.txt
|
||||
# Start MongoDB and poussetaches
|
||||
$ docker-compose -f docker-compose-dev.yml up -d
|
||||
$ make poussetaches
|
||||
$ env POUSSETACHES_AUTH_KEY="SetAnyPasswordHere" docker-compose -f docker-compose-dev.yml up -d
|
||||
# Run the server locally
|
||||
$ FLASK_DEBUG=1 MICROBLOGPUB_DEBUG=1 FLASK_APP=app.py flask run -p 5005 --with-threads
|
||||
$ FLASK_DEBUG=1 MICROBLOGPUB_DEBUG=1 FLASK_APP=app.py POUSSETACHES_AUTH_KEY="SetAnyPasswordHere" flask run -p 5005 --with-threads
|
||||
```
|
||||
|
||||
## API
|
||||
|
|
|
@ -12,3 +12,5 @@ services:
|
|||
- "${DATA_DIR}/poussetaches:/app/poussetaches_data"
|
||||
environment:
|
||||
- POUSSETACHES_AUTH_KEY=${POUSSETACHES_AUTH_KEY}
|
||||
ports:
|
||||
- "7991:7991"
|
||||
|
|
Loading…
Reference in a new issue