Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
/ weiqi Public archive

The worlds greatest Go platform - no login, no plugins.

Notifications You must be signed in to change notification settings

michaelkirk/weiqi

Repository files navigation

Weiqi

               _       _ 
 __      _____(_) __ _(_)
 \ \ /\ / / _ \ |/ _` | |
  \ V  V /  __/ | (_| | |
   \_/\_/ \___|_|\__, |_|
                    |_|  

Installation

Prerequisites

node & nvm

# install nvm: https://github.com/creationix/nvm
$> nvm install 0.8
$> nvm use 0.8

npm

$> curl http://npmjs.org/install.sh | sudo sh

Redis

$> sudo apt-get install redis-server

Vagrant

As an alternative to the above steps you can use vagrant. Make sure an up-to-date vagrant and chef-dk are installed and run the folowing commands:

$> vagrant plugin install vagrant-berkshelf
$> vagrant plugin install vagrant-omnibus

Lastly, bring the box up and provision it:

$> vagrant up

Install WeiQi

$> git clone git@github.com:michaelkirk/weiqi.git && cd weiqi
$> npm install
$> sudo npm install supervisor -g
$> make server

Tests

To run the client specs, point your browser to: file://<project directory>/spec/jasmine/SpecRunner.html

$> make server &

To run the acceptance suite $&gt; npm install -g mocha $&gt; make test

Deployment

Add heroku to your git remotes once

$> git remote add heroku git@heroku.com:evening-meadow-5281.git

To deploy, push your branch to heroku

$> git pull # make sure you're up to date
$> git push heroku

About

The worlds greatest Go platform - no login, no plugins.

Resources

Stars

Watchers

Forks

Packages

No packages published