Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
test
.gitignore
.swp
LICENSE
README.md

README.md

poker

building from scratch

  • cd client
  • npm install
  • cd semantic
  • gulp build
  • yes to RTL, otherwise take all defaults
  • cd ../../server
  • go build && docker-compose up -d && docker exec server_mongo_1 mongo /fixtures/fixtures.js

development commands

restart the server, from server/

  • go build && docker restart server_echo_1 && docker logs --tail=1 -f server_echo_1

recompile javascript, from client/

  • webpack

testing

  • make sure phantomjs is installed globally: sudo npm install -g phantomjs
  • cd test
  • npm install
  • npm test

add local ip hostname to selenium nodes from server_selenium_chrome_1: echo "192.168.8.88 dev" >> /etc/hosts

I created a second device to store all docker stuff. This is visible via "ps aux | grep docker"; the "-g /mnt" part. When restarting the VM, you need to "sudo su -; mount -t ext3 /dev/sdb /mnt; /etc/init.d/docker restart". This will tell the docker daemon, which is configured to look at /mnt, where to look for images.

You can’t perform that action at this time.