This repository contains the setup and provisioning files required to develop and deploy Pharos.
- Install Vagrant
- Install the Virtualisation Provider VirtualBox
- Install Terraform
- Install Ansible
- For Ansible ensure you have python2 installed
git clone git@github.com:Maikon/elixir_setup.git
cd elixir_setup
ansible-galaxy install geerlingguy.nodejs
ansible-galaxy install ANXS.postgresql
- Start the agent from the command line:
eval $(ssh-agent)
- Add your ssh key used for Git (default location is
~/.ssh/id_rsa
):
ssh-add
vagrant up
vagrant ssh
vagrant up # starts vagrant
vagrant provision # provisions vm (without restarting)
vagrant ssh # SSH into vagrant
vagrant reload # restarts vagrant
vagrant halt # stops vagrant
vagrant status # check to see if vm is running