This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-02 22:21:33 +00:00
|
|
|
# wordpress
|
|
|
|
|
|
|
|
> https://wordpress.org
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ git clone https://git.autonomic.zone/autonomic-cooperative/wordpress && cd wordpress
|
|
|
|
$ python3 -m venv .venv && source .venv/bin/activate
|
|
|
|
$ pip install -r requirements.txt
|
|
|
|
$ docker-compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
Then visit the new Wordpress site.
|
|
|
|
|
|
|
|
> http://localhost:8010
|
|
|
|
|
2020-05-03 10:39:32 +00:00
|
|
|
On the first run, you'll have to wait some seconds for the database to
|
|
|
|
initialise before running through the initial installation. We don't make use
|
|
|
|
of something like [wait-for-it](https://github.com/vishnubob/wait-for-it)
|
|
|
|
because the `depends_on` stanza makes Docker swarm wait for it to come up on
|
|
|
|
the production deploy. So, we can just avoid doing this altogether for the
|
|
|
|
development workflow to save ourselves work.
|