Skip to content

gabloescobar/acquire

 
 

Repository files navigation

Acquire board game

This is the code for my Acquire board game program which can be played at http://acquire.tlstyer.com/.

Install dependencies

Install nodejs. I followed the official instructions:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

Install yarn. I followed the official instructions:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

Install other dependencies.

sudo apt-get install mysql-server python3-pip zopfli
sudo pip3 install virtualenv

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

yarn

Download libraries for development use:

cd lib
curl http://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/sha256.js > crypto-js.rollups.sha256-3.1.2.js
curl http://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.1/dygraph-combined.js > dygraph-combined-1.1.1.js
curl http://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js > jquery-1.12.4.js
curl http://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.min.js > json3-3.3.2.js
curl http://cdnjs.cloudflare.com/ajax/libs/history.js/1.8/native.history.min.js > native.history-1.8.js
curl http://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.1/sockjs.min.js > sockjs-1.1.1.js
curl http://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.3.1/stacktrace-with-promises-and-json-polyfills.min.js > stacktrace-1.3.1.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.4%
  • JavaScript 37.2%
  • HTML 7.2%
  • CSS 2.9%
  • Shell 1.3%