https://github.com/level09/enferno-ansible
Deploy Project Enferno on Ubuntu with Ansible
https://github.com/level09/enferno-ansible
Last synced: 11 months ago
JSON representation
Deploy Project Enferno on Ubuntu with Ansible
- Host: GitHub
- URL: https://github.com/level09/enferno-ansible
- Owner: level09
- License: mit
- Created: 2014-08-24T20:04:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-10T13:27:44.000Z (about 10 years ago)
- Last Synced: 2025-03-30T19:51:08.435Z (12 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 4
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Deploy your Enferno App with this simple Ansible script
=======================================================
Example on how to use ansible to deploy project enferno on Ubuntu server
it is recommended that you have ansible installed globally on you local machine:
```
sudo pip install ansible
```
Edit hosts and vars.yml to suit your needs, then run the playbook using:
```
ansible-playbook -i hosts enferno.yml
```
This will do a complete server setup for you.
if you keep the default user password "enferno", make sure you login to your server and change it afterwards.
After running the script, you can restart services with the following commands:
Gunicorn Service
---------------
```
sudo service enferno restart
```
Celery Service
--------------
```
sudo service clry restart
```
Nginx server
------------
```
sudo service nginx restart
```
The logs are avialable in the "log" directory inside the user home directory.
Upstart scripts are inside the /etc/init
shell scripts are created in the "bin" directory inside the user home directory.
* This script was tested on Ubuntu 12.x and 14.x only