Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Initial setup: Windows

Zachary Wood edited this page Feb 3, 2020 · 4 revisions

If you haven't already, please follow the SRCT initial setup instructions for Windows to install the prerequisite software.

Open Git Bash and navigate to your SRCT projects directory.

1. Install Ruby

Unfortunately, Chocolatey doesn't work well with Ruby. Download from this link instead, and follow the setup instructions:

https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.5-1/rubyinstaller-devkit-2.6.5-1-x64.exe

After the setup, the DevKit installer will appear. Enter 1 and press enter to install the DevKit.

2. Install Bundler

Bundler is the ruby program used to install ruby packages. To install it, simply run

gem install bundler

3. Clone Schedules

In your SRCT projects directory, run the following command to clone the Schedules codebase to your machine

git clone git@github.com:srct/srctweb.git

Run cd srctweb/srctweb to enter into the project directory.

4. Install dependencies

To install the Ruby dependencies, run

bundle install

This will probably fail -- if it does, run rm Gemfile.lock and try again.

5. Run SRCTWeb!

Finally, run this to start the SRCTWeb development server:

bundle exec jekyll serve
Clone this wiki locally