librariesio/infrastructure

Name: infrastructure

Owner: Libraries.io

Description: :building_construction: Everything for managing the servers for Libraries.io

Created: 2017-02-15 18:49:38.0

Updated: 2018-05-16 15:06:56.0

Pushed: 2018-05-16 15:06:55.0

Homepage:

Size: 127

Language: Smarty

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Libraries.io Infrastructure

All the code and configuration for managing the servers that https://libraries.io runs on

Setup

You'll need Ansible installed to run the playbooks, instructions here: http://docs.ansible.com/intro_installation.html

Install required roles from Ansible Galaxy
ansible-galaxy install -r ansible/requirements.yml
Running playbooks
main app

For deploying Libraries.io

ansible-playbook ansible/main-app.yml -i ansible/inventories/main-app
cron machine

For running background jobs from Libraries.io

ansible-playbook ansible/cron.yml -i ansible/inventories/cron
elasticsearch cluster

For the elasticsearch cluster for Libraries.io

ansible-playbook ansible/elasticsearch.yml -i ansible/inventories/elasticsearch
memcached machines

For the memcached machines for Libraries.io

ansible-playbook ansible/memcached.yml -i ansible/inventories/memcached
swift machine

For the swift parser server for Libraries.io

ansible-playbook ansible/swift.yml -i ansible/inventories/swift
cocoapods machine

For the cocoapods server for Libraries.io

ansible-playbook ansible/cocoapods.yml -i ansible/inventories/cocoapods
nginx machine

For the nginx server for Libraries.io

ansible-playbook ansible/nginx.yml -i ansible/inventories/nginx
redis machine

For the redis server for Libraries.io

ansible-playbook ansible/redis.yml -i ansible/inventories/redis
pip machine

For the pip server for Libraries.io

ansible-playbook ansible/pip.yml -i ansible/inventories/pip
postgresql machine

For the postgresql servers for Libraries.io

ansible-playbook ansible/postgres.yml -i ansible/inventories/postgres

For setting up postgresql replica:

ansible-playbook ansible/playbooks/postgres_replica/tasks/init.yml -i ansible/inventories/postgres
Note on Patches/Pull Requests
Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copyright

Copyright (c) 2016 Andrew Nesbitt. See LICENSE for details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.