Skip to content

Setting Up Workdey on Local Server

Makinwa Olubukola edited this page Sep 14, 2016 · 1 revision

Setting Up Workdey on a Local Server

Steps for Getting Workdey to run locally

  • Make sure ruby is installed in your system. To check your ruby version, use
ruby -v
  • To run workdey, it is recommended that you use ruby 2.3.0.
  • Open your terminal and navigate to the directory where you wish to have the project cloned. Clone the Workdey repo using this command:
git clone https://github.com/andela/workdey
  • Navigate to the Workdey directory:
cd workdey
  • Install bundler:
gem install bundler
  • Install the project dependencies:
bundle install
  • Note: Installation of the pg gem may fail if you do not have postgres already setup in your machine. Instructions on how to install Postgres can be found here

  • Make sure the postgres server is already running. This can be done using the command:

pg_ctl -D /usr/local/var/postgres start
  • Setup the database using
rake db:server
  • Start the redis server:
redis-server &
  • Start the rails server:
rails server