Code base for a workshop to introduce potential new students to computer science at Hogeschool Rotterdam.
This workshop needs the following programming languages to be available:
- Ruby v2+
- Haskell (GHC v7.8+, Cabal v1.18+)
To install all ruby dependencies for this workshop we use Bundler. To install Bundler run the following command:
gem install bundler
To save the minimal data that is needed for the workshop Sqlite3 is used. To install Sqlite run the following command:
sudo apt-get install sqlite3 libsqlite3-dev
To use version control we used Git. To install Git run the folloing command:
sudo apt-get install git
After installing Git this workshop can be cloned to your computer using the following command:
git clone https://github.com/matsrietdijk/workshop-hr-inf.git
To setup this workshop from scratch run te following commands:
git clone https://github.com/matsrietdijk/workshop-hr-inf.git workshop
cd workshop
To preview the default applications the applications should be run. Both applications can be visited on http://0.0.0.0:4567 when running. Because both use the same port only one application can be active at a time.
To run the Ruby application the following commands should be executed from the projects root directory:
cd ruby
bundle install
ruby app.rb
To run the Haskell application the following commands should be executed from the projects root directory:
cd haskell
cabal install
runhaskell app.hs