passanager

command module
v0.0.0-...-7fb5cc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2015 License: MIT Imports: 2 Imported by: 0

README

Passanager

Dockerized Password Manager written in Go with Redis and PostgreSQL

Build Status

Prerequisites

  • Vagrant
  • VirtualBox
  • Docker Compose Vagrant provisioner
$vagrant plugin install vagrant-docker-compose

##Vagrant## Contains 3 provisioners

  • Shell. Configures development environment using Ansible. (Golang, Ruby/Compass, Nodejs)
  • Docker
  • Docker Compose. Configures containers for Redis and PostgreSQL. Configured to always run

To Start:

$vagrant up

To re-run all provisioners:

$vagrant reload --provision

Note: Docker Compose will always execute on $vagrant up or $vagrant reload

Note: For provisioning to work, dos2unix may need to be installed manually on the guest.

$vagrant ssh
$sudo apt-get install dos2unix

Then use

$vagrant reload --provision

##TODO##

Working Directory

$ vagrant ssh
$ cd /vapp/src/github.com/aurlaw/passanager

First Time set up

$ go get github.com/tools/godep

Working Directory

Go Application: port 9090

Ansible Docker containers http://docs.ansible.com/ansible/docker_module.html

Container volume root on guest: /srv/docker

  • Redis
  • PostgreSQL

https://github.com/nodesource/distributions#debinstall

https://github.com/nodesource/ansible-nodejs-role

Notes: Postgres Backup within vagrant ssh sudo /vbackup/postgres_db_backup.sh

Cron */5 * * * * bash -x docker_db_backup.sh

sudo tail /var/log/syslog

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/jmoiron/sqlx
Package sqlx provides general purpose extensions to database/sql.
Package sqlx provides general purpose extensions to database/sql.
_workspace/src/github.com/jmoiron/sqlx/reflectx
Package reflectx implements extensions to the standard reflect lib suitable for implementing marshaling and unmarshaling packages.
Package reflectx implements extensions to the standard reflect lib suitable for implementing marshaling and unmarshaling packages.
_workspace/src/github.com/lib/pq
Package pq is a pure Go Postgres driver for the database/sql package.
Package pq is a pure Go Postgres driver for the database/sql package.
_workspace/src/github.com/lib/pq/listen_example
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
_workspace/src/github.com/lib/pq/oid
Package oid contains OID constants as defined by the Postgres server.
Package oid contains OID constants as defined by the Postgres server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL