-
Ensure
brew
is installed. Thebrew
tool is a package manager for Mac that we will use to install the programming languageruby
.If not, download
ruby
here:https://brew.sh
-
Install
ruby
brew install ruby
The version of
ruby
you observe from running/usr/local/opt/ruby/bin/ruby -v
should be greater than 2.5. -
Change your
PATH
to include theruby
executable that was just installed (as opposed to the version ofruby
that 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
PATH
by running the following (or you can alternatively just restart your shell).source ~/.bash_profile
You can validate that your
PATH
was 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/
)
hikaruhotta / cs236g Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sharonzhou/cs236g
Stanford CS236G: Generative Adversarial Networks. New course this Winter 2020-21 - please enroll! :)
Home Page: https://cs236g.stanford.edu