Skip to content

Maikon/elixir_setup

Repository files navigation

This repository contains the setup and provisioning files required to develop and deploy Pharos.

Required Tools

Clone the repository

git clone git@github.com:Maikon/elixir_setup.git

Change directory into the root

cd elixir_setup

Install the NodeJS and Postgres playbooks

ansible-galaxy install geerlingguy.nodejs
ansible-galaxy install ANXS.postgresql

Enable SSH agent forwarding

  • 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

Provision the Vagrant box

vagrant up

Enter the virtual machine

vagrant ssh

Commonly used vagrant commands

  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

About

A repository to enable development and deployment of Elixir apps using Terraform, Ansible and Vagrant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages