- Junhao Lin
- Qiwen Luo
- Yixin Pan
- Rui Chu
- Install Node.js and npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
- Install ruby and bundler: https://github.com/rbenv/rbenv#installation
- Install PostgreSQL, please follow step 1 and 2 of in one of these tutorials:
- Run the following command to install ruby packages:
bundle install
- Run the following command to install front end packages:
npm install
- Depending on your PostgreSQL configuration, you may need to edit the default
username
andpassword
accordingly inconfig/database.yml
- Run the following commands to create schema and tables:
rails db:create
rails db:migrate
rails db:seed
If you wish to run test locally, be sure to run rails db:migrate RAILS_ENV=test
as well.
If you encountered errors when running cucumber tests, try running rspec tests first before cucumber tests.
Please run tests on Mac OS or Linux, as PhantomJS gem does not support Windows.
8. Run rails server
, and check with a browser at http://localhost:3000. It might take a bit longer to render if it’s the first time you run
https://gentle-cliffs-83673.herokuapp.com/
- User login and signup
- User profile page
- Homepage where user can see all posted requests
- Post page where logged-in user can post a new request
- Authentication has been added to each page
- A page with all unfulfilled/unexpired requests posted by the current user and the user can edit these requests
- A page with all fulfilled/expired requests
- A page with all requests that the current user helped with
- On homepage, logged-in user can choose to help with some requests
- A page with all unfulfilled/unexpired requests posted by the current user and the user can delete these requests
- Task Complete Button where user can indicate that the task has been completed and add comment to the target
- A page where user can check the status of task they posted and see helper's contact info
- A search, filter and sort option on all available requests on homepage based on content, location, date, etc.
- Feedback/comment on requests where user can see list of comments associated with the post's owner as well as making comments when task complete