Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robsantossilva/buffalo_example
Primeiro examplo com buffalo go lang
https://github.com/robsantossilva/buffalo_example
Last synced: about 2 months ago
JSON representation
Primeiro examplo com buffalo go lang
- Host: GitHub
- URL: https://github.com/robsantossilva/buffalo_example
- Owner: robsantossilva
- Created: 2020-06-29T22:28:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T11:17:01.000Z (about 2 years ago)
- Last Synced: 2023-03-04T10:19:05.907Z (almost 2 years ago)
- Language: Go
- Size: 962 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 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](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)