1
0
mirror of https://gitlab.com/free_zed/free_zed.gitlab.io.git synced 2024-06-18 02:22:31 +00:00
free_zed.gitlab.io/content/ocp10.md
Freezed f348579a90 🎨 Normalize usage of non breaking spaces
Remove ` ` by ` `, less painfull to read
2020-09-27 22:30:18 +02:00

54 lines
3.1 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Title: CI/CD d'un projet Django sur VPS
Date: 2018-11-24 11:11
Category: Réalisations
Status: published
Summary: Intégration et déploiement continue d'un projet Django sur un VPS Digital Ocean
Tags: django, travis, ci, cd, heroku, tdd, openfoodfacts, postgresql, devops, debian, sentry, admin, cli, git, python,
## Historique
* [Livraison][v01] du [projet initial][p8], conformément au [cahier des charges][cdc]
* [Livraison][v03] d'un [1er lot d'évolutions][p11]
## Missions
* Mettre en place une [Intégration Continue][wikici](CI) avec [Travis CI][ci]
* Déploiement de l'[environnement de production][wikienv] sur un [VPS][wikivps] _Digital Ocean_ via [CLI][wikicli]
* Déploiement automatisé dans un [environnement de qualification][wikienv] (_staging environment_) via [Heroku][herokuapp] après [réussite des tests][ci]
* Suivre l'activité:
- du serveur avec le monitoring _Digital Ocean_
- de l'application avec [Sentry][sentry]
* Utiliser [`cron`][cron] pour automatiser une [tâche de maintenance][issue64] sur le serveur
---
Voir le code hébergé sur [Github][ocp10]
[ocp10]: https://github.com/freezed/ocp8/tree/v0.4
[cdc]: https://github.com/freezed/ocp8/blob/v0.1/README.md#cahier-des-charges
[ci]: https://travis-ci.com/freezed/ocp8/builds "Liens vers l'historique des builds sur le site Travis CI"
[cron]: https://fr.wikipedia.org/wiki/Cron "Lien vers la page «cron» sur wikipedia"
[herokuapp]: https://ocp8-1664.herokuapp.com/
[issue64]: https://github.com/freezed/ocp8/issues64
[p10]: https://github.com/freezed/ocp8/projects/3
[p11]: https://github.com/freezed/ocp8/projects/2
[p5]: https://github.com/freezed/ocp5#pydev-projet-5
[p8]: https://github.com/freezed/ocp8/projects/1
[prod]: http://68.183.223.134/
[purbeurre]: http://68.183.223.134/#about
[readmev04]: https://github.com/freezed/ocp8/blob/v0.4/README.md#contexte
[screenshot]: https://github.com/freezed/ocp8/blob/v0.4/doc/img/
[sentry]: https://sentry.io/ "Lien vers le site Sentry.io"
[v01]: https://github.com/freezed/ocp8/releases/tag/v0.1
[v03]: https://github.com/freezed/ocp8/releases/tag/v0.3
[v04]: https://github.com/freezed/ocp8/releases/tag/v0.4
[wikici]: https://fr.wikipedia.org/wiki/Int%C3%A9gration_continue "Lien vers la page «Intégration continue» sur wikipedia"
[wikicli]: https://fr.wikipedia.org/wiki/Command-line_interface "Lien vers la page «Command Line Interface» sur wikipedia"
[wikidjango]: https://fr.wikipedia.org/wiki/Django_(framework) "Lien vers la page «Django (framework)» sur wikipedia"
[wikienv]: https://fr.wikipedia.org/wiki/Environnement_(informatique) "Lien vers la page «Environnement (informatique)» sur wikipedia"
[wikiframe]: https://fr.wikipedia.org/wiki/Framework "Lien vers la page «Framework» sur wikipedia"
[wikipaas]: https://fr.wikipedia.org/wiki/Plate-forme_en_tant_que_service "Lien vers la page «Plate-forme en tant que service» sur wikipedia"
[wikivps]: https://fr.wikipedia.org/wiki/Serveur_d%C3%A9di%C3%A9_virtuel "Lien vers la page «Serveur dédié virtuel» sur wikipedia"
[pitch]: https://gitpitch.com/freezed/ocp8/v0.4?p=doc