Skip to content

sborrazas/sborrazas

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

SBorrazas

Dev setup

Clone the repo and start the Vagrant VM:

$ git clone git@github.com:sborrazas/sborrazas.git
$ cd sborrazas
$ vagrant up
$ ./bin/start-server

Production setup

Provision the instance

With the hosts file located in the inventory directory, and the variables set up in group_vars/production.yml with Ansible Vault.

To be able to connect to EC2 hosts, you need to use the keypair that was given to you by the keypair Ansible playbook. In order to add it to your SSH session, run the following:

$ ssh-add mykey.pem
$ ssh-add -l # Make sure the session is listed

Then run the provisioning script:

$ make provision

Deploying

For deploying the app, make sure you have the right configuration set on ansible/group_vars/production.yml (use production.yml.example as an example).

Then run:

$ make deploy

About

My personal site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published