Skip to content
A recipe for using Buffalo & Vue.js
Branch: master
Clone or download
Latest commit 17c6c45 Feb 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
actions Upgrade buffalo to v0.14.0, migrate to modules Feb 23, 2019
assets cleaned up a few things and brought it into line with v0.10.2 Dec 11, 2017
grifts working example Oct 17, 2017
locales Initial Commit Oct 16, 2017
migrations Upgrade buffalo to v0.14.0, migrate to modules Feb 23, 2019
models updated deps May 2, 2018
templates working example Oct 17, 2017
.babelrc Upgrade webpack config and js deps Feb 23, 2019
.buffalo.dev.yml working example Oct 17, 2017
.codeclimate.yml Initial Commit Oct 16, 2017
.dockerignore Initial Commit Oct 16, 2017
.gitignore updated deps May 2, 2018
Dockerfile Upgrade webpack config and js deps Feb 23, 2019
README.md
database.yml working example Oct 17, 2017
go.mod Upgrade buffalo to v0.14.0, migrate to modules Feb 23, 2019
go.sum Upgrade buffalo to v0.14.0, migrate to modules Feb 23, 2019
main.go cleaned up a few things and brought it into line with v0.10.2 Dec 11, 2017
package.json Upgrade js deps Feb 23, 2019
webpack.config.js Upgrade webpack config and js deps Feb 23, 2019
yarn.lock Upgrade js deps Feb 23, 2019

README.md

Welcome to Buffalo!

Thank you for choosing Buffalo for your web development needs.

Database Setup

It looks like you chose to set up your application using a postgres 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 postgres for you.

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

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.

What Next?

We recommend you heading over to http://gobuffalo.io and reviewing all of the great documentation there.

Good luck!

Powered by Buffalo

You can’t perform that action at this time.