Skip to content

splashinn/buffago

Repository files navigation

What is Buffago?

Buffago is my attempt at creating a starter application template for web apps using Golang and the Buffalo framework http://gobuffalo.io

Database Setup

It looks like you chose to set up your application using a database! Fantastic!

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.

You will also need to make sure that you start/install the database of your choice. Buffalo won't install and start it for you.

Create Your Databases

Ok, so you've edited the "database.yml" file and started your database, now Buffalo can create the databases in that file for you:

$ buffalo pop create -a

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:

$ buffalo dev

If you point your browser to http://127.0.0.1:3000 you should see a "Welcome to Buffalo!" page.

Congratulations! You now have your Buffalo application up and running.

Powered by Buffalo

About

Go Buffalo Starter Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published