gas

command module
v0.0.0-...-6464992 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2015 License: MIT Imports: 10 Imported by: 0

README

GAS - Golang + AngularJs + Sqlite

This open source project provide you the fastest way to deploy your own frontpage and blogging web app, with a product module for promote your own business.

AngularJS is responsible for layout, sending restful request to server, and presenting data retrieved from server. (gas/webapp)

While Golang modules are responsible for providing restful api to angularjs webapp. (gas/service)

Using Sqlite for database mainly because it's simplicity, and should be more enough for me.

Install

  1. Install Golang.
  2. go get github.com/featen/gas
  3. Modify your site config at data/gas.conf.
  4. go run app.go

Deploy to Openshift (free)

  1. Create an openshift account and create a golang app - e.g. blog.
  2. git clone your blog code from openshift, copy gas app code into blog dir.
  3. rm web.go from original blog code, git add 'the rest code from gas', git commit -a; git push origin master.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
utils
db
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL