https://github.com/mediacomem/biosentiers-infra
Infrastructure for the BioSentiers project
https://github.com/mediacomem/biosentiers-infra
ansible biosentiers vagrant
Last synced: about 2 months ago
JSON representation
Infrastructure for the BioSentiers project
- Host: GitHub
- URL: https://github.com/mediacomem/biosentiers-infra
- Owner: MediaComem
- License: mit
- Created: 2017-05-05T15:48:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T14:43:52.000Z (almost 9 years ago)
- Last Synced: 2025-04-08T22:32:37.737Z (about 1 year ago)
- Topics: ansible, biosentiers, vagrant
- Language: HTML
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# BioSentiers Infrastructure
Infrastructure for the BioSentiers backend & frontend:
* [PostgreSQL][postgresql] database with [PostGIS][postgis]
* [Nginx][nginx] web server
* [Nodenv][nodenv] to manage multiple [Node.js][node] versions
* [PM2][pm2] process manager for Node.js
This repo will only set up the required infrastructure.
To deploy the BioSentiers backend and frontend,
follow the instructions in their respective repositories:
* https://github.com/MediaComem/biosentiers-backend
* https://github.com/MediaComem/biosentiers-frontend
## Requirements
* [Ansible][ansible] 2+, [installation][ansible-install]
* [Vagrant][vagrant] 1.9+, [installation][vagrant-install] (for testing)
* [Virtual Box][virtualbox] 5+, [installation][virtualbox-install] (for testing)
## Usage
* Put the project's password in a `.vault-password` file in the repository
To **test** the infrastructure in a Vagrant virtual machine:
* Run `vagrant up`
To **run** the infrastructure in production:
* Create an [Ansible inventory][ansible-inventory] and save it as `production.inventory`
* Apply the production playbook:
ansible-playbook \
--inventory production.inventory \
--vault-password-file .vault-password \
playbook.production.yml
[ansible]: https://www.ansible.com
[ansible-install]: http://docs.ansible.com/ansible/intro_installation.html
[ansible-inventory]: http://docs.ansible.com/ansible/intro_inventory.html
[nginx]: https://www.nginx.com
[node]: https://nodejs.org
[nodenv]: https://github.com/nodenv/nodenv
[pm2]: http://pm2.io
[postgis]: http://postgis.net
[postgresql]: https://www.postgresql.org
[vagrant]: https://www.vagrantup.com
[vagrant-install]: https://www.vagrantup.com/downloads.html
[virtualbox]: https://www.virtualbox.org
[virtualbox-install]: https://www.virtualbox.org/wiki/Downloads