Wirecog 38c73fb86c Initial import | 7 years ago | |
---|---|---|
client | 7 years ago | |
static | 7 years ago | |
templates | 7 years ago | |
.gitignore | 7 years ago | |
LICENSE | 7 years ago | |
Readme.md | 7 years ago | |
isogoapp.go | 7 years ago |
A basic, barebones web app, intented to be used as a starting point for developing an Isomorphic Go application.
The instructions assume that you are using a Unix-like operating system (e.g. BSD, Linux, Mac OS, etc).
If you are using Windows, you may need to adapt the installation instructions, most notably for setting up the ISOGO_APP_ROOT
environment variable.
It is assumed that the latest version of Go is already installed on your system and that you have properly configured your Go workspace.
go get -u github.com/isomorphicgo/isogoapp
ISOGO_APP_ROOT
environment variable.export ISOGO_APP_ROOT=${GOPATH}/src/github.com/isomorphicgo/isogoapp
cd $ISOGO_APP_ROOT/client
gopherjs build
cd $ISOGO_APP_ROOT
go run isogoapp.go
The web server runs locally on port 8080: localhost:8080.
If all goes well, you should see the Isomorphic Go logo, along with a message rendered on the web page.
Once you've installed, and confirmed, that the basic Isomorphic Go application is working, the next logical step is to install Kick.
Kick automatically recompiles Go code, and it can take both the go
and gopherjs
commands into consideration.
Kick performs an instant kickstart of the web server instance, upon the modification of a Go source file. Check out Kick
More information on the benefits of Isomorphic Go applications can be found at the Isomorphic Go Website.
The isogoapp
is licensed under the BSD License. Read the LICENSE file for more information.