AttendIt Application will enable people interested in attending local events the ability to view venue events. This data will be stored electronically, allowing venues to create events.
Before running this web app you will need to install rails 5.1.4 and ruby 2.4.2. You will also need to install PostgreSQL.
$ xcode-select --install
Check if Homebrew is installed:
$ brew
-bash: brew: command not found
To avoid RVM installation issues, install Homebrew before RVM. If Homebrew is not installed, install it:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The RVM website explains how to install RVM. Here’s the simplest way:
$ \curl -L https://get.rvm.io | bash -s stable
For more install information checkout: https://rvm.io/rvm/install
After installing RVM, install the newest version of Ruby. You must specify a version number to install the newest stable Ruby version:
$ rvm install ruby-2.4.2
At the time we made the app the most recent version was rails 5.1.4
$ gem install rails
You will also need to download PostgreSQL. We used the Graphical Installer which can be found at: https://postgresapp.com/
You can also download manually via: https://www.postgresql.org/download/
Once you have downloaded Ruby, Rails, and PostgreSQL you can now begin.
Go ahead and clone the repo
$ git clone https://github.com/bnickodemus/AttendIt
$ cd AttendIt
Next, run bundle install to download the necessary gems
$ bundle install
You will need to create to database
$ rake db:create
You will then need to migrate the database
$ rake db:migrate
Finally start the server
$ rails server
Then open a web browser with the web address localhost:3000 to see the app running.
We have chosen to deploy to Heroku located here: https://attend-it.herokuapp.com/
Copyright © 2017 OSU Cascades. All rights reserved.