Files
2019-10-02 23:07:49 +02:00

25 lines
1.1 KiB
Markdown

This document is aimed at the people deploying Monica on https://monicahq.com, and does not apply to the people installing Monica for their own use.
## Before deploying a new version
* Make sure `config/monica.php` contains the number of the new release you are about to create.
* Update `CHANGELOG.md` accordingly.
* Create a new release on https://version.monicahq.com with the release notes.
* Create a new release on https://github.com/monicahq/monica/releases, which will also automatically create a new tag.
* Write the release note with the tool hosted on https://monicahq.com/login
* Push the code to production.
## Deployment of the Docker images
This guide has been posted by [kstrauser](https://github.com/monicahq/monica/issues/676#issuecomment-352047750) - thanks for his help. Here are the steps necessary to deploy Monica on Docker hub:
* You need an account on [Docker hub](https://hub.docker.com).
* You need to have Docker installed on your machine.
* Run the following commands (example for the version 3.4.5):
```
git reset --hard v3.4.5
make docker_build docker_tag docker_push
```
The image should be up on the Docker Hub.