Skip to content

FuliCuli/init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

init

FuliCuli/init is base repository to generate a fully functional development environment. For now, it configures servers for node.js application but you can easily create your own playbooks to handle others types of need.

Installation

Prerequisite

You have to install Virtualbox (and its Extension Pack) and Vagrant

Fork it

Instead of clone our repository, fork it.

Init your VM

Launch the command :

vagrant up

It will download and install this Debian VM.

Sync these directories :

  • Local ./ with VM /home/init/
  • Local ~/.ssh/ with VM /root/.ssh/ and ~vagrant/.ssh/
  • Local ../ with VM /var/www/

Then, install Submodules.

Finally, it will run the Server Playbook.

Configuration

Edit files

Edit the sample configuration by your own into the file ansible/group_vars/all. For the dev environment, you can customize with the file ansible/host_vars/localhost (only the dist file will keep in the repository).

Connect to your VM over SSH

vagrant ssh

Launch configuration

cd /home/init && ansible-playbook -i dev website.yml -t web --connection=local

Update

Keep your fork up to date

git fetch upstream && git merge upstream/master && git submodule update

You have to be aware that you can have conflicts, if so, then handle.

Update ansible/roles submodule

git submodule foreach git pull -q origin master

Need more roles ?

FuliCuli/init use FuliCuli/ansible-roles repository to handle ansible roles. If you need more roles, you can ask here, you can also fork it and make a pull request to add your own roles.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages