GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Rhelli/Rails-Blogger: Another quick, simple RoR blogging web app

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
bin
bin
 
 
config
config
 
 
db
db
 
 
lib
lib
 
 
log
log
 
 
public
public
 
 
storage
storage
 
 
test
test
 
 
tmp
tmp
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
.ruby-version
.ruby-version
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
config.ru
config.ru
 
 
package.json
package.json
 
 

Repository files navigation

📑 Blogger Web App - Ruby on Rails

This is another, quick project devised to practice the basics of creating Rails web apps. This time, it's a blog. However, unlike my previous Rails blog app, this blog is a little more complex. It possesses all the features you might expect from a web blog (or any other rails based web app), at an entry level perspective.

🖱️ The Project Brief

The specifications and the guide to the project can be found on the 'Getting Started with Rails' page from guides.rubyonrails.org.

The scope of this project covers:

  • Articles
    • Create, edit and delete
    • Index, show, edit and new pages
    • Ability to upload various image formats with articles (jpeg, png, gif)
  • Authors (users)
    • Create, edit and delete
    • Index, show and edit pages
  • Tags
    • Create, edit and delete
    • Associate/Tag articles on their creation
    • An index page of all Tags to browse articles by Tag name
  • Comments
    • Create edit or delete comments on their respective article's page
    • Timestamp for 'how long ago' comments were posted
  • Authentication
    • Protection of creation, editing and deleting user accounts, articles, tags and comments unless signed in
    • User account and article creation is open only to those signed in
    • Basic email and HTTP password authentication

Showcase

Articles Screen

Browsing articles from the 'index' page and navigating to the articles 'show' page.

Authors Screen

Logging in provides the user with additional options, such as editing and deleting articles, as well as creating them.

Create Article Screen

Once logged in, users can create articles, add images to the articles and add comments.

Tags Screen

Users can browse through articles via Tags and can delete tags when they are logged in.


💪🏽 Technologies, Languages & Gems Used

  • Ruby 2.6.5

  • Ruby on Rails 5.2.4.1

  • CSS3

  • SCSS

  • Sorcery - Used for generation of security & authentication models, controllers and views

  • Paperclip - Facilitated image upload to articles from local env

  • Imagemagick - Formatting of images for upload to blog

🔑 Setup & Usage

If you want to poke around or modify this web app, you'll have to first follow a couple of steps to ensure everything runs right.

System Requirements

First off, you'll need the following:

  • Ruby
  • Ruby on Rails If you're not sure what either of those is or need pointing in the right direction this right here, is the best place to head.

Usage

  1. After you have this repository downloaded and you've made sure Ruby and Ruby on Rails are updated and on your machine cd into this repository, wherever it is you downloaded it to. Not sure what 'cd' means?
  2. Once you've cd into this repo, type in the command bundle install. This will download all the required Ruby Gems for the web app so it can function properly. Not sure what Ruby Gems Are?
  3. Once the bundle install command above has finished downloading, ensure you are in this repository's root directory and enter the command rails server into your terminal. This will start the Ruby on Rails server, allowing you to now access it from your browser of choice.
  4. Type in http://localhost:3000/ into your browser address bar and hit enter. You should now see the Rails Blog App!
  5. To access the different pages available, enter the following:
    • localhost:3000/articles
    • localhost:3000/authors
    • localhost:3000/tags
  6. Please be aware that some of these pages do not have full functionality unless you are logged in. To test this, please use the following email: [email protected] password: admin.

🤲🏽 Contributions, Issues and Forking

If you have any issues setting up the project or you come across any unintended bugs or problems, please do submit an issue to the Rails Blogger Issue Page

If you want to make your own changes, modifications or improvements, go ahead and Fork it!

  1. Fork it (https://github.com/Rhelli/Rails-Blogger/fork)
  2. Create your working branch (git checkout -b [choose-a-name])
  3. Commit your changes (git commit -am 'what this commit will fix/add/improve')
  4. Push to the branch (git push origin [chosen-name])
  5. Create a new Pull Request

👨🏽‍💻 Creator

Rory Hellier - GitHub

📣 Show Your Support

Give a ⭐️ if you like this project!

About

Another quick, simple RoR blogging web app

Topics

authenticationcss3erbhtml5imagemagickpapercliprubyruby-on-railsscsssorcery

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.