The Random Jokes app was inspired by a Ruby CLI project I previously created. I wanted to take the idea of something that works in a CLI and code it to work similarly in the web browser. The idea is users can sign up or log in, create an archive of their favorite dad jokes, edit and delete jokes they create, and also view jokes collected by other users
-
Clone the Repository
% git clone https://github.com/tbenis/random-jokes.git
-
Bundle install dependecies
% bundle install
-
Run Migrations
% rake db:migrate
-
Seed Database
% rake db:seed
-
Run server (Shotgun (preferred) or Rackup)
% shotgun
-
Navigate to the url in a web browser: http://localhost:9393/
Regarding the seeded data, the password for all created users after running rake db:seed
is 'password'
Each user has a unique email. Head to the terminal and type % rake console
. Once the pry console comes up, type User.all
and that will show you all 10 users and their emails. Remember to use password
to login in a browser.
Benis Tambe >>>> GitHub -- Benis Tambe
MIT