github.com/segakazzz/buffalo@v0.16.22-0.20210119082501-1f52048d3feb/genny/build/_fixtures/coke/README.md (about)

     1  # Welcome to Buffalo!
     2  
     3  Thank you for choosing Buffalo for your web development needs.
     4  
     5  ## Database Setup
     6  
     7  It looks like you chose to set up your application using a postgres database! Fantastic!
     8  
     9  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.
    10  
    11  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.
    12  
    13  ### Create Your Databases
    14  
    15  Ok, so you've edited the "database.yml" file and started postgres, now Buffalo can create the databases in that file for you:
    16  
    17  	$ buffalo pop create -a
    18  
    19  ## Starting the Application
    20  
    21  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:
    22  
    23  	$ buffalo dev
    24  
    25  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.
    26  
    27  **Congratulations!** You now have your Buffalo application up and running.
    28  
    29  ## What Next?
    30  
    31  We recommend you heading over to [http://gobuffalo.io](http://gobuffalo.io) and reviewing all of the great documentation there.
    32  
    33  Good luck!
    34  
    35  [Powered by Buffalo](http://gobuffalo.io)