-
Ensure
brewis installed. Thebrewtool is a package manager for Mac that we will use to install the programming languageruby.If not, download
rubyhere:https://brew.sh -
Install
rubybrew install ruby
The version of
rubyyou observe from running/usr/local/opt/ruby/bin/ruby -vshould be greater than 2.5. -
Change your
PATHto include therubyexecutable that was just installed (as opposed to the version ofrubythat ships with OS X and is used by default) by replacing<Your username>in the following command and running it.echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> /Users/<Your username>/.bash_profile
-
Effectuate the change to your
PATHby running the following (or you can alternatively just restart your shell).source ~/.bash_profile
You can validate that your
PATHwas updated by runningecho $PATH. You should see several paths demarcated from each other by colons ':'. Ensure that/usr/local/opt/ruby/bin(path to newruby) shows up before/usr/bin/(path to oldruby). -
Run the following which will download the dependencies for this project (listed in
Gemfile).bundle install
-
Launch the website.
./run.sh
You can access the website by going to the URL displayed under the label "Server address" (probably
http://127.0.0.1:4000/)
szalouk/CS236G
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- SCSS 62.6%
- HTML 24.8%
- Ruby 8.0%
- JavaScript 4.5%
- Shell 0.1%