TheMinecraftFiles is Ben Evans's A-Level Computing Project. The aim of the project is to create a website to discover, contribute and report issues on Minecraft Addons/Plugins (Mods, Texturepacks & Skins).
OSX (assuming homebrew is installed):
brew install mongodb redis nodejs
Ubuntu:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install mongodb-server redis-server nodejs
# Clone code-base
git clone https://github.com/bencevans/TheMinecraftFiles.git
# Install modules from [npm](https://npmjs.org)
npm install
# Edit ./config.coffee with DB Addreses, GitHub API Secret etc.
# Setup Database (default Categories etc.)
./scripts/setup
The ./scripts folder houses several helpers:
start
Starts the server, mounting the ui and apistart-dev
Same asstart
but will restart on any code changesstart-cluster
Starts and instance of the server for each core/processor availabletest
Runs Tests
To run a script exec ./scripts/[script name]