https://github.com/devinceble/baseserver
https://github.com/devinceble/baseserver
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devinceble/baseserver
- Owner: devinceble
- Created: 2014-10-11T05:20:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-12T06:09:13.000Z (about 11 years ago)
- Last Synced: 2023-08-01T12:19:26.518Z (over 2 years ago)
- Language: Go
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#BaseServerStruct
Version: *** v0.0.2 ***
Base Server Structure for Client Web Applications
My personal Starter Kit for Building Client Server for Web Application and PhaserJS Game
--------
###Change Log
*** v0.0.2 ***
* Fixed Convey
*** v0.0.1b Beta Release ***
* Routes
* Models
* Migrations
* Tests
* Sockets
--------
### Building Dependencies and Structure
####Dependencies
```
go 1.3.x
```
####Install Build Dependencies
```bash
#Create Database
eg.
MYSQL
$ mysql -u root -p
mysql> CREATE SCHEMA databasename;
#Configure Server
mv Configs/Conf.go.example Configs/Conf.go
//Change Database Connection and Server Settings
vim Configs/Conf.go
#Initialize Server
$ go get
$ BaseServer migrate
#Running Debug Server
$ BaseServer start
#Running Production Server
$ foreman start
#Deploying Server
$ foreman export FORMAT LOCATION
#Don't Forget to Create test dbase
#and change config at Configs/Conf.go to the test dbase name
#Testing Server
$ go get github.com/smartystreets/goconvey
$ goconvey
OR
$ go test -v ./...
```
#####Access Browser
http://localhost:8000/