This Rails application has been intentionally broken!
This project is based on a popular blogging platform, Publify.
You will be forking & cloning an open source (MIT LICENSE) blogging platform called Publify.
Publify is a simple but full featured web publishing software. It's built around a blogging engine and a small message system connected to Twitter.
- A classic multi user blogging engine
- Short messages with a Twitter connection
- Text filters (Markdown, Textile, SmartyPants, @mention to link, #hashtag to link)
- A widgets system and a plugin API
- Custom themes
- Advanced SEO capabilities
- Multilingual : Publify is (more or less) translated in English, French, German, Danish, Norwegian, Japanese, Hebrew, Simplified Chinese, Mexican Spanish, Italian, Lithuanian, Dutch, Polish, Romanian…
To install Publify you need the following:
-
Ruby 2.0, 2.1, 2.2, 2.3 or 2.4
-
Ruby On Rails 4.2.x
-
A compatible JavaScript installation for asset compilation. See the execjs readme for details.
-
ImageMagick
Make sure that you have ImageMagick installed (used by mini_magick).
Check for imagemagick:
$ which convert
# /path/to/bin/convert
Install it if it's missing (this can take a few minutes):
$ brew update
$ brew link
$ brew install imagemagick
Fork & Clone the Publify repo:
$ bundle install
$ rake db:setup
$ rake db:migrate
$ rake db:seed
$ rails server
You can now launch you browser and access 0.0.0.0:3000.
You will be prompted to supply a blog title and email:
You will be signed in and issued a username and password:
Now that our blog is setup we can use the seeds again to load some data.
$ rake db:seed
# => Seeded 24 articles...
- Visit your blog homepage at
0.0.0.0:3000/
- Go to the
/admin
backend and poke around (it's similar to wordpress). - Create your first blog post!
A number of issues have been added to this application. Each one is expressed in a support ticket below. For this assignment you will open the support ticket as indicated as a github issue in your forked repository. Then you will make comments on this ticket about the fixes you implmented or questions you would ask back to the submitter. Once you fix and document or ask questions, move on to the next ticket and repeat the process.
We are hoping to see how you solve problems as well as how you communicate so please be as detailed as possible in each response.
Remember to copy the content of each ticket below and create a new issue in the
issues
section of your repo before you get started.
The style of Articles on the sidebar is inconsistent with the other sidebar menu items. Steps to reproduce:
- as admin login and create at least one article
- proceed to 0.0.0.0:3000 and view the article
- on the right side observe the font for Archives differs from the other headers
- on the right side observe that the bullet points under archives are filled circles
Expected behavior:
- The Archives should look like Tags, Links and meta.
The list of tags associated with a given blog post always display "tags object, object, object".
Steps to reproduce:
- Create a new post
- When you press publish, enter some tags (quantity doesn't seem to matter)
- Finish publishing the post
- Visit the root route
- Observe the newest post has tags "object object"
Expected behavior:
- the tags one types are displayed in the article summary
The http://0.0.0.0:3000/users/sign_in page shows <span class=
in the input fields, and other HTML "debris" below them.
Steps to reproduce:
- logout
- visit http://0.0.0.0:3000/users/sign_in
- view the form fields to sign-in
Expected behavior:
- Login field should say 'Login' (in english)
- Password field should say 'Password' (in english)
When I click on the top-most month in the Archive Sidebar it says "No posts found...".
Steps to reproduce:
- Visit http://0.0.0.0:3000
- Click on the top-most month in the Archive Sidebar
- You will see "No posts found...". despite there being at least one post.
Expected behavior:
- When you click on the top most month in the sidebar that has at least one post we should see that post or posts
The sort order of months in the Archive Sidebar is off
Steps to reproduce:
- Visit http://0.0.0.0:3000
- Look at the Archive Sidebar
- January 2015 appears before December 2015
Expected behavior:
- Date's in the Archive Sidebar should appears from most recent to oldest
Please fix each bug on its own branch (e.g. fix_sidebar_styles
).
When you're finished with a bug, create a pull request that is linked to the issue your resolving to merge your branch back into the master branch.