Skip to content

Standard Beego Project with an added Route and Html file. First step after creating a standard web project with the Bee tool.

Notifications You must be signed in to change notification settings

steele232/beego-test-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beego Test Run

Just a Standard Beego Project with an added Route and Html file. It was my first step after creating a standard web project with the Bee tool.

Your First Time using the Beego Framework

This would be a good learning exercise to help you get started with Beego:

  1. Make sure Go (golang) is configured on your computer
  2. Install Beego on your computer (if not already done)
  3. Install the Bee tool on your computer (if not already done)
  4. Create a new Beego project somewhere under your $GOPATH using the cli command "bee new beego-test"
  5. Start the Beego project with "bee run" at the root level of your project directory (it will hot reload when you save changes to your files) and then watch the site as you make changes. (You will still need to press refresh in your browser to get the new changes you make in the file system). You can use this project as a reference if you get stuck
    1. Edit the index.tpl and default.go files to put your own name in the author place
    2. Create another route in the controllers folder like the one that is there.
    3. (Optionally) Create another .tpl file that you can use as the template file for your new route
    4. Access your new route in your browser
  6. See if the changes you made match my changes in this project!
  7. If you get stuck, of course, take a closer look at my Project.

About

Standard Beego Project with an added Route and Html file. First step after creating a standard web project with the Bee tool.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published