Skip to content

IanGallacher/SC2-AI-Website

Repository files navigation

Sc2 AI Website

Build Status Maintainability Test Coverage

Rough Instructions

These instructions are very quick and dirty. If you get stuck, feel free to ask for help on one of the comunity hubs.

Note that this guide does not yet cover setting up pre-requisite software, and it may make bad recommendations.

Setup

  • Install Ruby and stuff... The commands you use to install ruby and various dependancies will vary depending on your operating system. On ubuntu, it will look something like this:
sudo apt-get install ruby-dev zlibc zlib1g zlib1g-dev libsqlite3-dev libmysqlclient-dev
sudo npm install -g npx
  • Install Bundler: gem install bundler -v 1.16.2.

  • Clone this repo to your computer.

  • Open a terminal in the repo folder.

  • Run bundle install.

  • Run npm install.

  • Run npx webpack.

  • Setup a mysql instance.

  • Create an environment variable MYSQL_PASSWORD and set it to the password for the root mysql login.

  • Run rails db:create.

  • Run rails db:migrate.

Run

  • Open two separate terminals into the repo folder.

  • Run rails s in one terminal.

  • Run npm run start:dev in the other terminal.

  • Navigate your web browser to http://localhost:8080/

  • The website should display on your screen.

  • Any issues, blame TheDoctor (it's definitely all his fault).

About

The source code behind the SC2 AI community ladder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published