/Timeline-generator

A generator of timelines

Primary LanguageRuby

Timeline-generator

This is a project to practice Ruby on rails and creating a almost-full customizable timeline. For at it is now, this generator will create a timeline with the background-color you want, the font you want and the posts you want.

Technologies used:

How to use it:

You can clone this repo but before launching it, you need some prerequisites:

  • Ruby
  • rails
  • MySql (or another database managment system if you know what you are doing)

You change the database config in Timeline/config/database.yml to put your password and database name. You create your database with the same name. Then, in the terminal, you cd to the root (Timeline) and you put the command bundle install and a rails db:migrate and create a admin user and you are ready to use the timeline generator!

To login as a admin to change the timeline, put /admin/login in the url.

The index will show the last timeline, if you want to change this, go to the timeline controller and do a loop in the index to show all the timelines.

What it looks like :

For questions

Just open issues if you have problems using it, I will try to answer as fast as possible.