Permalink
Browse files

Various minor update for spelling and links.

modified:   .gitignore
   added the bin directory to ignore since it is used by the batch files now

modified:   crawler.bat
   made it use go install and then reference the bin directory

modified:   indexer.bat
   made it use go install and then reference the bin directory

new file:   license.txt
    added a license.txt to the project, with David's copyright on it

modified:   server.bat
   made it use go install and then reference the bin directory

modified:   server/web/about.html
    fixed links to github projects, cleaned up langauge a bit

modified:   server/web/footer.html
    moved the GCSE link to header (where it already was)

modified:   server/web/header.html
    moved the GCSE link to header (where it already was)
    made link text a little more clear (might be too long for mobile?)

modified:   server/web/index.html
    cleaned up language a little bit
  • Loading branch information...
1 parent bd11d8f commit 16025fc085a1220206dbe7702389b55be2d90576 @robertmeta robertmeta committed Jul 8, 2013
Showing with 62 additions and 34 deletions.
  1. +1 −0 .gitignore
  2. +3 −3 crawler.bat
  3. +3 −3 indexer.bat
  4. +26 −0 license.txt
  5. +3 −3 server.bat
  6. +16 −13 server/web/about.html
  7. +4 −7 server/web/footer.html
  8. +4 −3 server/web/header.html
  9. +2 −2 server/web/index.html
View
@@ -20,3 +20,4 @@ _cgo_export.*
_testmain.go
*.exe
+bin\
View
@@ -1,5 +1,5 @@
-go build github.com/daviddengcn/gcse/crawler
+go install github.com/daviddengcn/gcse/crawler
@if errorlevel 1 goto exit
-crawler
+bin\crawler
-:exit
+:exit
View
@@ -1,5 +1,5 @@
-go build github.com/daviddengcn/gcse/indexer
+go install github.com/daviddengcn/gcse/indexer
@if errorlevel 1 goto exit
-indexer
+bin\indexer
-:exit
+:exit
View
@@ -0,0 +1,26 @@
+Copyright (c) 2013, David Deng
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+3. Neither the name of the PostgreSQL Global Development Group nor the names
+ of its contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
View
@@ -1,5 +1,5 @@
-go build github.com/daviddengcn/gcse/server
+go install github.com/daviddengcn/gcse/server
@if errorlevel 1 goto exit
-server
+bin\server
-:exit
+:exit
View
@@ -2,16 +2,19 @@
<h3>Motivation</h3>
<p>
When I began to code in <a target="_blank" href="http://golang.org/">Go</a>,
- I loved it. Directly importing from other open source projects is very useful.
- Projects are connected in a very elegant way.
+ I loved it. The integrated tooling for importing directly from version
+ control systems is exceptional useful. It allows projects to be connected
+ in an elegant manner.
</p>
<p>
- So many people are contributing to Go society, and wheels are inevitably
- invented for several times. Choosing the one to import becames a problem.
- This is what a search engine can help.
+ With so many brillant people contributing to the Go ecosystem, there is a
+ lot of "reinventing the wheel" happening. Due to the way Go does imports,
+ a central clearing house like Maven or NPM is simply not needed. However,
+ what is needed is a way to find the packages you want to import, and that is
+ why GCSE was created.
</p>
<p>
- A specific search engine designed for Go can benefit in the following ways:
+ A search engine specifically designed for Go can help in the following ways:
<ul>
<li>
By analyzing the importing relations between projects, popular
@@ -35,26 +38,26 @@
</p>
<p>
If you find a bug, have a new idea or any other suggestion, please
- fire an issue at <a href="https://github.com/daviddengcn/gcse/issues">here</a>.
+ submit an <a href="https://github.com/daviddengcn/gcse/issues">issue</a>.
</p>
<p>
- Constructing GCSE, several sub-projects are published as well. Unlike GCSE
- itself, they are designed to be used by other projects.
+ While creating GCSE, several supporting projects were created and are published.
+ Feel free to use them!
<ul>
<li>
- <a target="_blank" href="https://github/daviddengcn/go-index">go-index</a>:
+ <a target="_blank" href="https://github.com/daviddengcn/go-index">go-index</a>:
a text indexing package, serving the index/search function in GCSE.
</li>
<li>
- <a target="_blank" href="https://github/daviddengcn/go-rpc">go-rpc</a>:
- an RPC service through HTTP protocol.
+ <a target="_blank" href="https://github.com/daviddengcn/go-rpc">go-rpc</a>:
+ an RPC service through HTTP protocol.
</li>
</ul>
</p>
<h3>Acknowledgement</h3>
<p>
GCSE <a href="/view?id={{"github.com/daviddengcn/gcse"}}">imports</a>
- (or fork) the following projects:
+ (or forks) the following projects:
<ul>
<li>
<a target="_blank" href="https://github.com/garyburd/gddo">gddo</a>
@@ -1,10 +1,8 @@
</div>
<footer>
- <img src="/images/logo-16.png" class="logo">
- <a href="/">GCSE</a>
- | <a href="https://github.com/daviddengcn/gcse" target="_blank">Project</a>
- | <a href="/about">About</a>
- | &copy; 2013 <a href="http://daviddengcn.com/" target="_blank">David</a>
+ <a href="/about">About GCSE</a>
+ | <a href="https://github.com/daviddengcn/gcse" target="_blank">Github Project</a>
+ | &copy; 2013 <a href="http://daviddengcn.com/" target="_blank">David Deng</a>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@@ -14,7 +12,6 @@
ga('create', 'UA-298324-14', 'go-search.org');
ga('send', 'pageview');
-
</script>
</body>
-</html>
+</html>
@@ -14,8 +14,9 @@
<input class="query-box" type="search" name="q" value="" placeholder="search">
</form>
</div>
- <a href="/">Home</a>
- | <a href="/add">Add</a>
- | <a href="/tops">Top</a>
+ <img src="/images/logo-16.png" class="logo">
+ <a href="/">GCSE</a>
+ | <a href="/add">Add Packages</a>
+ | <a href="/tops">Top Packages</a>
</header>
<div class="main">
@@ -18,8 +18,8 @@
</div>
{{if .}}
<div class="info">
- Totally <a href="/search">{{.TotalDocs}}</a> packages indexed,
- last updated {{.IndexAge}} before.
+ <a href="/search">{{.TotalDocs}}</a> packages indexed,
+ last updated {{.IndexAge}} ago.
<div style="vertical-align: middle" class="fb-like" data-href="http://go-search.org/" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div>
<div class="g-plusone" data-size="small"></div>
</div>

0 comments on commit 16025fc

Please sign in to comment.