forked from forks/microblog.pub
Merge pull request #5 from dsblank/patch-4
Add note on docker-compose; FLASK_DEBUG=1; typo
This commit is contained in:
commit
f75219928d
1 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,7 @@ Edit `config/me.yml` to add the above-generated password, like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
username: 'username'
|
username: 'username'
|
||||||
name: 'You Name'
|
name: 'Your Name'
|
||||||
icon_url: 'https://you-avatar-url'
|
icon_url: 'https://you-avatar-url'
|
||||||
domain: 'your-domain.tld'
|
domain: 'your-domain.tld'
|
||||||
summary: 'your summary'
|
summary: 'your summary'
|
||||||
|
@ -85,6 +85,8 @@ pass: $2b$12$iW497g...
|
||||||
|
|
||||||
### Deployment
|
### Deployment
|
||||||
|
|
||||||
|
Note: some of the docker yml files use version 3 of [docker-compose](https://docs.docker.com/compose/install/).
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
|
@ -100,7 +102,7 @@ $ pip install -r requirements.txt
|
||||||
# Start the Celery worker, RabbitMQ and MongoDB
|
# Start the Celery worker, RabbitMQ and MongoDB
|
||||||
$ docker-compose -f docker-compose-dev.yml up -d
|
$ docker-compose -f docker-compose-dev.yml up -d
|
||||||
# Run the server locally
|
# Run the server locally
|
||||||
$ MICROBLOGPUB_DEBUG=1 FLASK_APP=app.py flask run -p 5005 --with-threads
|
$ FLASK_DEBUG=1 MICROBLOGPUB_DEBUG=1 FLASK_APP=app.py flask run -p 5005 --with-threads
|
||||||
```
|
```
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
Loading…
Reference in a new issue