Tip: Deploy Enferno Framework on Ubuntu with a single command
This tutorial will help you run a production-ready enferno-based app with a single command (hint: ansible playbook)
Prerequisites
Make sure you have Ansible installed on your machine, a good idea is to install it globally, you can execute the following command:
sudo pip install ansible
1.Clone the ansible playbook
git clone git@github.com:level09/enferno-ansible.git && cd enferno-ansible
2. Edit the configuration
Replace the host IP inside the “hosts” file to your Ubuntu* instance IP address
Optionally, you can edit the “vars.yml” file to suit your needs
3. Run the playbook
ansible-playbook -i hosts enferno.yml
Congratulations ! you have just got an ubuntu server fully configured for you.
with Mongodb, Redis, Nginx, and Enferno framework (including all dependencies).
just visit the IP address in your browser to see the live website.
*Note: This playbook works specifically with Ubuntu 12.x and 14.x, it has not been tested with other versions yet.