Logo Lanfrica

peter-ohara/pasco_server

Domain:

education

Record type:

software
Creator:
pet
Host:
A Rails 5 server for the version 2 of Pasco - a test prep application for university students in Ghana # Pasco Server API server for version 2 of Pasco, a test prep application for university students in Ghana ## Architecture and models ## Development ##### Prerequisites The setups steps expect following tools installed on the system. - Git - Ruby 2.4.2 - Rails 5.1.3 ##### 1. Check out the repository ```bash git clone git@github.com:peter-ohara/pasco_server.git ``` ##### 2. Create database.yml file Copy the sample database.yml file and edit the database configuration as required. ```bash cp config/database.yml.sample config/database.yml ``` ##### 3. Create and setup the database Run the following commands to create and setup the database. ```ruby bundle exec rake db:create bundle exec rake db:setup ``` ##### 4. Start the Rails server You can start the rails server using the command given below. ```ruby bundle exec rails s ``` And now you can visit the site with the URL localhost