Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebookfoundation/cce-search-ansible
Ansible setup for deploying the CCE Search Flask app
https://github.com/ebookfoundation/cce-search-ansible
Last synced: about 1 month ago
JSON representation
Ansible setup for deploying the CCE Search Flask app
- Host: GitHub
- URL: https://github.com/ebookfoundation/cce-search-ansible
- Owner: EbookFoundation
- Created: 2019-12-11T22:54:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T20:06:13.000Z (over 4 years ago)
- Last Synced: 2024-05-01T11:41:49.622Z (8 months ago)
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CCE Search Ansible Setup
### Pre-requisites
1. Install `ansible` on your local machine
2. Ensure you have obtained the SSH key for the EC2 instances
3. Provision EC2 instances as needed## Frontend Server (cce.ebookfoundation.org)
For information on how to provision the EC2 instance, see [CCE-Frontend-System-Information-and-Provisioning-Guide.md](CCE-Frontend-System-Information-and-Provisioning-Guide.md)
### Updating and redeploying
Once new changes have been added to the master branch of the [frontend repo](https://github.com/EbookFoundation/cce-search-prototype), run the `update-frontend-prod` playbook:
```
$ ansible-playbook -i hosts update-frontend-prod.yml --key-file="/path/to/key/on/your/machine"
```## Backend Server (ec2-18-217-39-134.us-east-2.compute.amazonaws.com)
### Updating and redeploying
*Note: This playbook currently pulls changes from the NYPL's repository, pending completion of our fork*
Once new changes have been added to the master branch of the [backend repo]("https://github.com/NYPL/bardo-copyright-db"), run the `update-backend-prod` playbook:
```
$ ansible-playbook -i hosts update-backend-prod.yml --key-file="/path/to/key/on/your/machine"