a84d8c131b | ||
---|---|---|
ack | ||
actions | ||
github | ||
grifts | ||
models | ||
template | ||
templates | ||
.buffalo.dev.yml | ||
.codeclimate.yml | ||
.dockerignore | ||
.gitignore | ||
.travis.yml | ||
Dockerfile | ||
Gopkg.lock | ||
Gopkg.toml | ||
LICENSE | ||
README.md | ||
database.yml | ||
finalTemplate.html | ||
finalTemplate.tmpl | ||
inflections.json | ||
main.go |
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!
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.