Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 173e13e Sep 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
features
lib
log
public
script
spec
storage
tmp
vendor
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

Article Publication Site README

Week 4 AUT Challenge @ Craft Academy

2018-09-22

By Robin Börjesson And Shirmen Chen

Installation

Clone repo:

git clone https://github.com/Rinbo/rails_bdd.git

Run bundle:

bundle install

Create and migrate database:

rails db:create db:migrate:

run test suite to see that everything works. Note, you have to pass in username (robin) and password (Mypassword) when running the delete feature test. A browser will open up and automatically do the rest of the feature tests but passing in the credentials has to be done manually for now.

cucumber
  • Launch local server:
rails server

Go ahead and checkout the functionality in your browser at localhost:3000 and then deply to your service of choice

Dependencis

Ruby version and dependencies are listed in the Gemfile

How it works

  • On the landing page you can view published articles
  • From here you can also follow the link to publish your own article (authentication required)
  • Each article also lists how many comments that article has. To read comments or make your own, click the comment link at the bottom each article
  • Editing and deleting articles and comments requries authentication
You can’t perform that action at this time.