https://github.com/flyinprogrammer/vlad
A private Vagrant Cloud Server
https://github.com/flyinprogrammer/vlad
Last synced: 12 months ago
JSON representation
A private Vagrant Cloud Server
- Host: GitHub
- URL: https://github.com/flyinprogrammer/vlad
- Owner: flyinprogrammer
- Created: 2018-08-16T13:30:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T13:40:43.000Z (over 7 years ago)
- Last Synced: 2025-02-17T12:16:34.066Z (about 1 year ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Vlad!
This tool implements the Vagrant Cloud API so that you can privately host vagrant boxes. It supports using the [packer vagrant-cloud post-processor](https://www.packer.io/docs/post-processors/vagrant-cloud.html) for publishing boxes as well as the [vagrant](https://www.vagrantup.com/docs/cli/box.html) CLI tool for managing boxes on your hosts.
## Buffalo
Vlad is a [buffalo](https://gobuffalo.io/en/docs/installation) application, so you will need to install that toolchain in order to develop on Vlad.
## Database Setup
Vlad expects you to use postgres to store all the metadata about the boxes.
The first thing you need to do is open up the "database.yml" file and edit it to use the correct usernames, passwords, hosts, etc... that are appropriate for your environment.
### Create Your Databases
Ok, so you've edited the "database.yml" file and started postgres, now Buffalo can create the databases in that file for you:
$ buffalo db create -a
Note: If you installed postgres with homebrew on os x you might need to run this first:
```bash
$ buffalo db create
ERRO[0000] Error: couldn't create database vlad_development: error creating PostgreSQL database vlad_development: pq: role "postgres" does not exist
$ createuser -s -r postgres
$ buffalo db create
v4.6.4
created database vlad_development
```
## Starting the Application
Buffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the "buffalo dev" command:
``` bash
$ buffalo dev
```
If you point your browser to [http://127.0.0.1:3000](http://127.0.0.1:3000) you should see a "Welcome to Buffalo!" page.
**Congratulations!** You now have your Buffalo application up and running.
## What Next?
We recommend you heading over to [http://gobuffalo.io](http://gobuffalo.io) and reviewing all of the great documentation there.
Good luck!
[Powered by Buffalo](http://gobuffalo.io)