Go install Revel Record

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

1. Installing the Revel Frame

$ go get github.com/revel/revel

2. Install the Revel command line tool

$ go get github.com/revel/cmd/revel

3. Create Revel Application

$ revel new myapp$ revel run myapp
Note: Because Google is a wall, you need to Download the Go websocket yourself before installing Revel, and put it in your gopath/src directory.(i download the go websocket:http://golang.so/thread-143-1-1.html here) to use the Revel command to execute: Go build-o bin/revel.exe github.com/revel/ Revelgo Build-o Bin/revel.exe github.com/revel/cmd/ Revel tried the above two methods to generate Revel.exe, it feels like all the same, just use a good to build a good revel.exe stored in Gopath/bin under the use of the process, use to sqlite3 (go get github.com/mattn/ Go-sqlite3), the result error cc1.exe:sorry, Unimplemented:64-bit mode not compiled in need to use GCC, the original system has MSYS and configured environment variables, Unfortunately, it's not 64-bit. Then find the method: Method 1. Download the 64-bit MinGW, add the bin to the environment variable, download the address as http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting win64/personal builds/mingw-builds/ 4.8.2/threads-posix/seh/ Method 2. Download tdm-gcc-64, select Add to environment variable when installing, download address Http://tdm-gcc.tdragon.net/download  
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.