Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z0mbix/deploygif-infrastructure
Code for managing the deploygif infrastructure
https://github.com/z0mbix/deploygif-infrastructure
Last synced: about 1 month ago
JSON representation
Code for managing the deploygif infrastructure
- Host: GitHub
- URL: https://github.com/z0mbix/deploygif-infrastructure
- Owner: z0mbix
- License: mit
- Created: 2016-05-24T11:16:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-12T20:46:59.000Z (over 8 years ago)
- Last Synced: 2024-04-17T20:13:12.908Z (9 months ago)
- Language: Ruby
- Homepage: http://deploygif.com
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Deploygif Infrastructure
========================## About
This repository contains the code to manage the [deploygif.com](deploygif.com) website and infrastructure.
[Terraform](https://terraform.io) is used to provision an instance on [Digital Ocean](https://digitalocean.com), and [Chef](https://www.chef.io) then installs and configures all the required services.
## Services
Deploygif is a simple lua application that runs on top of [OpenResty](https://openresty.org/en/). It retrieves a random URL of an animated gif from [redis](http://redis.io). The application code can be found on a separate GitHub repository ([z0mbix/deploygif](https://github.com/z0mbix/deploygif)).
## Testing
There are both ChefSpec and ServerSpec tests that should be run before committing. Make sure to set-up the pre-commit hook.
Unit tests:
$ cd chef
$ chef exec rspecIntegration tests:
To run the tests against an Ubuntu 16.04 vagrant VM run:
$ cd chef
$ chef exec kitchen test## License
MIT