|
@@ -1,9 +1,8 @@
|
1
|
|
-<p align="center"><a href="http://isomorphicgo.org" target="_blank"><img src="https://github.com/isomorphicgo/isogoapp/blob/master/static/images/isomorphic_go_logo.png"></a></p>
|
2
|
|
-
|
|
1
|
+<p align="center"><a href="http://isomorphicgo.org" target="_blank"><img src="https://go.isomorphicgo.org/go/isogoapp/raw/branch/master/static/images/isomorphic_go_logo.png"></a></p>
|
3
|
2
|
|
4
|
3
|
# Isomorphic Go App (isogoapp)
|
5
|
4
|
|
6
|
|
-[![Go Report Card](https://goreportcard.com/badge/github.com/isomorphicgo/isogoapp)](https://goreportcard.com/report/github.com/isomorphicgo/isogoapp)
|
|
5
|
+[![Go Report Card](https://goreportcard.com/badge/go.isomorphicgo.org/go/isogoapp)](https://goreportcard.com/report/go.isomorphicgo.org/go/isogoapp)
|
7
|
6
|
|
8
|
7
|
A basic, barebones web app, intented to be used as a starting point for developing an [Isomorphic Go](http://isomorphicgo.org) application.
|
9
|
8
|
|
|
@@ -15,7 +14,7 @@ For a more comprehensive demonstration, please visit the live demo of IGWEB, an
|
15
|
14
|
|
16
|
15
|
The source code for the live demo is available here: [https://github.com/EngineerKamesh/igb](https://github.com/EngineerKamesh/igb)
|
17
|
16
|
|
18
|
|
-## Installation on Unix-like OS
|
|
17
|
+## Installation on a Unix-like OS
|
19
|
18
|
|
20
|
19
|
The instructions assume that you are using a Unix-like operating system (e.g. BSD, Linux, Mac OS, etc).
|
21
|
20
|
|
|
@@ -24,11 +23,11 @@ The instructions assume that you are using a Unix-like operating system (e.g. BS
|
24
|
23
|
It is assumed that the latest version of Go is already installed on your system and that you have properly configured your Go workspace.
|
25
|
24
|
|
26
|
25
|
### Get the isogoapp project
|
27
|
|
-`go get -u github.com/isomorphicgo/isogoapp`
|
|
26
|
+`go get -u go.isomorphicgo.org/go/isogoapp`
|
28
|
27
|
|
29
|
28
|
|
30
|
29
|
### Define the `ISOGO_APP_ROOT` environment variable.
|
31
|
|
-`export ISOGO_APP_ROOT=${GOPATH}/src/github.com/isomorphicgo/isogoapp`
|
|
30
|
+`export ISOGO_APP_ROOT=${GOPATH}/src/go.isomorphicgo.org/go/isogoapp`
|
32
|
31
|
|
33
|
32
|
|
34
|
33
|
### Build the Client-Side Go App
|
|
@@ -67,20 +66,20 @@ We have assumed that your go workspace is called GoWorkspace and is located at '
|
67
|
66
|
Save the changes made and run 'go env' from cmd. You should now see GOBIN to be pointing to bin directory inside your Go workspace folder.
|
68
|
67
|
|
69
|
68
|
### Get the isogoapp project
|
70
|
|
-Enter the command `go get -u github.com/isomorphicgo/isogoapp` in cmd.
|
|
69
|
+Enter the command `go get -u go.isomorphicgo.org/go/isogoapp` in cmd.
|
71
|
70
|
|
72
|
71
|
If Go is properly configured in your system and command is successfully executed, then you will see the following directory structure in src folder of your Go workspace.
|
73
|
72
|
|
74
|
|
-C:\GoWorkspace\src\github.com\isomorphicgo\isogoapp
|
|
73
|
+C:\GoWorkspace\src\go.isomorphicgo.org\go\isogoapp
|
75
|
74
|
|
76
|
75
|
### Define the `ISOGO_APP_ROOT` environment variable.
|
77
|
76
|
Now, we again need to set up an environment variable. Open the environment variable screen and under System Variables section, create a New variable. On Windows 10, this is done by clicking on New.
|
78
|
77
|
|
79
|
78
|
In the Variable name field, enter `ISOGO_APP_ROOT`.
|
80
|
79
|
|
81
|
|
-And, in the Variable value field, enter `%GOPATH%src\github.com\isomorphicgo\isogoapp`
|
|
80
|
+And, in the Variable value field, enter `%GOPATH%src\go.isomorphicgo.org\go\isogoapp`
|
82
|
81
|
|
83
|
|
-Did you notice back-slash missing between %GOPATH% and src? It is not a typo. If your GOPATH has a trailing back-slash in it, then type the command as given above. And if it does not have back-slash, then enter `%GOPATH%\src\github.com\isomorphicgo\isogoapp`. Check this detail by typing 'go env' in cmd.
|
|
82
|
+Did you notice back-slash missing between %GOPATH% and src? It is not a typo. If your GOPATH has a trailing back-slash in it, then type the command as given above. And if it does not have back-slash, then enter `%GOPATH%\src\go.isomorphicgo.org\go\isogoapp`. Check this detail by typing 'go env' in cmd.
|
84
|
83
|
|
85
|
84
|
### Build the Client-Side Go App
|
86
|
85
|
|
|
@@ -109,11 +108,11 @@ If all goes well, you should see the Isomorphic Go logo, along with a message re
|
109
|
108
|
|
110
|
109
|
### Kick
|
111
|
110
|
|
112
|
|
-Once you've installed, and confirmed, that the basic Isomorphic Go application is working, the next logical step is to install [Kick](https://github.com/isomorphicgo/kick).
|
|
111
|
+Once you've installed, and confirmed, that the basic Isomorphic Go application is working, the next logical step is to install [Kick](https://go.isomorphicgo.org/go/kick).
|
113
|
112
|
|
114
|
113
|
Kick automatically recompiles Go code, and it has the ability to take both the `go` and `gopherjs` commands into consideration.
|
115
|
114
|
|
116
|
|
-Kick performs an *instant kickstart* of the web server instance, upon the modification of a Go source file. [Check out Kick](https://github.com/isomorphicgo/kick)
|
|
115
|
+Kick performs an *instant kickstart* of the web server instance, upon the modification of a Go source file. [Check out Kick](https://go.isomorphicgo.org/go/kick)
|
117
|
116
|
|
118
|
117
|
Please note, that Kick will only work on Unix-like operating systems (e.g., BSD, Linux, Mac OS).
|
119
|
118
|
|
|
@@ -121,5 +120,5 @@ Please note, that Kick will only work on Unix-like operating systems (e.g., BSD,
|
121
|
120
|
More information on the benefits of Isomorphic Go applications can be found at the [Isomorphic Go Website](http://isomorphicgo.org).
|
122
|
121
|
|
123
|
122
|
## License
|
124
|
|
-The `isogoapp` is licensed under the BSD License. Read the [LICENSE](https://github.com/isomorphicgo/isogoapp/blob/master/LICENSE) file for more information.
|
|
123
|
+The `isogoapp` is licensed under the BSD License. Read the [LICENSE](https://go.isomorphicgo.org/go/isogoapp/src/branch/master/LICENSE) file for more information.
|
125
|
124
|
|