a trip planner with a calendar and map
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package-lock.json
package.json
yarn.lock

README.md

README

Welcome to your new favorite trip planner!

SETUP

git clone https://github.com/abraidotti/cal.git

cd cal

bundle install

rails db:migrate

and optionally: rails db:seed

then navigate to http://localhost:3000

USAGE

Follow these steps to have the most fun:

First, log in:

  1. If you are new, click sign up and fill out the required fields
  2. If you are old, fill out the required fields and log in

Next, create a trip:

  1. Click "Trips" in the navigation
  2. Fill out the fields under "Add a Trip" on the right hand side of the page
  3. To view your trip, find it on the "Trips" page, it will be on the left-hand side under "My Trips"
  4. You can view all the details about your trip when you click on your desired trip

Next, create events:

  1. Click "Events" in the navigation
  2. Fill out the fields under "Add an event" underneath the Display Map
  3. If you want to add this event to an existing trip, make sure you set the start time to fall within the trip duration!
  4. To view your event, find it on the "Events" page, it will be on the bottom unless you sort the events differently...
  5. You can sort the events by "Cost", "Name", "Location", "Start Time", and "Duration"; each of these sort from least to greatest

Next, add your event(s) to your trip(s)! There are a few ways to do this:

  1. You can click "Trips" in the navigation and choose your desired trip
  2. At the bottom of the page, there is a drop down button to add an event you have created to your trip
  3. Simply choose your desired events and click "Assign"
  4. Repeat as desired (but you can't add an event more than once for each trip)

Another way:

  1. You can click "Events" in the navigation and choose from the list of available events
  2. If this event's start time falls within the duration of one of your trips, you may add it with the drop down menu at the bottom of the page
  3. If this event's start time does NOT fall within the duration of one of your trips but you still think its #supercool, you can click "Yes, do it" at the bottom of the page which will take you to a "Clone this Event" page
  4. On this page, you can clone everything about the event, but you must choose a new start time and which event you'd like to add it to
  5. Please mind that if you choose a new start time that does not fall within one of your trip durations, it still won't work when you hit "Clone me"!

Finally, if you'd like to view your calendar click on "Calendar" in the navigation, the highlighted days represent days of trips you have created. If you click on a highlighted day, it will show you all the events planned for that day!

Plan away :)