All Projects → fansible → Ansible Provisioning Tywin

fansible / Ansible Provisioning Tywin

Generate your Ansible provisioning for Symfony2, Laravel and Node.js projects

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ansible Provisioning Tywin

Rubel
Rubel is a cms built with Laravel and React.
Stars: ✭ 70 (+4.48%)
Mutual labels:  ansible, laravel
Endoflife.date
Informative site with EoL dates of everything
Stars: ✭ 296 (+341.79%)
Mutual labels:  laravel, symfony
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (+40.3%)
Mutual labels:  ansible, symfony
Identity Card
A simple proof of identity card of the people's Republic of China.
Stars: ✭ 154 (+129.85%)
Mutual labels:  laravel, symfony
Vagrant Php Dev Box
PHP 7 vagrant development box with nginx, php-fpm, MySQL, Symfony, Laravel, ... on Ubuntu 16.04
Stars: ✭ 473 (+605.97%)
Mutual labels:  laravel, symfony
Php Examples For Aws Lambda
Demo serverless applications, examples code snippets and resources for PHP
Stars: ✭ 177 (+164.18%)
Mutual labels:  laravel, symfony
Cors
🔮Supported(Laravel/Lumen/PSR-15/Swoft/Slim/ThinkPHP) - PHP CORS (Cross-origin resource sharing) middleware.
Stars: ✭ 266 (+297.01%)
Mutual labels:  laravel, symfony
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (+174.63%)
Mutual labels:  ansible, laravel
Graphqlite
Use PHP Annotations to declare your GraphQL API
Stars: ✭ 370 (+452.24%)
Mutual labels:  laravel, symfony
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (+431.34%)
Mutual labels:  laravel, symfony
Php Ddd Example
🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 5
Stars: ✭ 1,960 (+2825.37%)
Mutual labels:  laravel, symfony
Hookphp
HookPHP基于C扩展搭建内置AI编程的架构系统-支持微服务部署|热插拔业务组件-集成业务模型|权限模型|UI组件库|多模板|多平台|多域名|多终端|多语言-含常驻内存|前后分离|API平台|LUA QQ群:679116380
Stars: ✭ 575 (+758.21%)
Mutual labels:  laravel, symfony
Backup Manager
Database backup manager for dumping to and restoring databases from S3, Dropbox, FTP, SFTP, and Rackspace Cloud
Stars: ✭ 1,589 (+2271.64%)
Mutual labels:  laravel, symfony
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+4110.45%)
Mutual labels:  laravel, symfony
Weeshop
优雅易用的微信小程序商城,PHP商城。 基于Laravel的基因,来自Symfony的底层技术,来自Drupal Commerce的核心技术,由Drupal中国开源社区维护。QQ群:714023327
Stars: ✭ 337 (+402.99%)
Mutual labels:  laravel, symfony
Idea Php Laravel Plugin
Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
Stars: ✭ 537 (+701.49%)
Mutual labels:  laravel, symfony
Laravan
Ansible Playbooks for Laravel - machine provisioning and app deployment
Stars: ✭ 49 (-26.87%)
Mutual labels:  ansible, laravel
Groups
A Laravel 5 user groups package
Stars: ✭ 66 (-1.49%)
Mutual labels:  laravel
Sonatacachebundle
This bundle provides caching services
Stars: ✭ 66 (-1.49%)
Mutual labels:  symfony
Sinoci
中国特色化 CodeIgniter
Stars: ✭ 66 (-1.49%)
Mutual labels:  laravel

Ansible provisioning for Symfony, Laravel and Node.js

Your application within 1 hour in production with this tool: Tywin

Create easily your Ansible provisioning for Symfony, Laravel and Node.js projects.

Ansible Symfony Laravel Nodejs

Requirements

This have been tested with the Ubuntu OS. It should work with many other various Debian distribution. Feel free to share your advice for the other OS.. This is what you will need to install if you haven't done yet:

  • Python 2.7
  • Ansible (>2.0)
  • Vagrant I advise to download it from their website to have the last version.
  • VirtualBox.
  • nfs sudo apt-get install nfs-kernel-server
  • PyYAML and Jinja2 for python

How to use it

  1. Installation.

    git clone [email protected]:fansible/tywin.git ~/tywin

  2. Generate the default conf

You can generate the default conf by running in the root directory of your project:

python ~/tywin/generate.py

You can now find your provisioning in the devops directory

  1. Create the VM You can create the VM with vagrant up.

  2. Log in your vagrant with vagrant ssh and put your ssh key in the .ssh/authorized_keys file. Log out and try to log in again using ssh [email protected]_OF_YOUR_VAGRANT (MAYBE 10.0.0.10 check your Vagrantfile)

If it's OK you can provision the VM

  1. Provision the VM

Provision it with ansible-playbook -i devops/provisioning/hosts/vagrant devops/provisioning/playbook.yml. If something goes wrong you can go inside your vagrant and try to execute manually in your shell the Ansible task that is failing.

After that, your VM is now ready! You can see your project in your browser at the IP's adress (10.0.0.10 if you haven't changed anything) =)

  1. Now you can do the same for your staging/production environment. Update the file in devops/provisioning/hosts/staging and add the IP or domain of your server.

Database configuration

Change the value of the database configuration in devops/provisioning/group_vars/vagrant

Go further: customize your provisioning

What you can do:

  1. Add your roles in the devops/provisioning/roles directory.

  2. Modify the playbook to call your roles.

  3. Overide vars (in devops/provisioning/vars).

If you want to have more information on the use of Ansible/Vagrant for you development environment, I wrote a blog post about it.

Stay in touch

If you have any question ask me on Twitter !

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].