Files
build-web-application-with-…/de/code/src/apps/ch.5.2
2015-08-06 20:35:55 +02:00
..
2015-08-06 20:35:55 +02:00
2015-08-06 20:35:55 +02:00
2015-08-06 20:35:55 +02:00

##Setup for ch.5.2

  • Step 1) Install and run MySql

  • Step 2) Create a user and database according to the constants in main.go

      DB_USER     = "user"
      DB_PASSWORD = ""
      DB_NAME     = "test"
    
  • Step 3) Create table userinfo located at schema.sql

  • Step 4) Run go get to download and install the remote packages.

  • Step 5) Execute the program with go run main.go