No description, website, or topics provided.
Python JavaScript HTML CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
server
.gitignore
README.md
generate_client_files.sh
generate_distribution_files.sh
package.json
requirements.txt
yarn.lock

README.md

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 python3-venv python3-wheel zopfli

python3 -m venv 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