Installing Locally
-
$ rbenv intall 2.1.5
-
$ rbenv global 2.1.5
-
$ git clone REPOSITORY_URL
-
$ cd website
-
$ cp config/database.yml.tmp config/database.yml
-
Make sure you have mysql installed and configured
-
Enter your mysql username and password into all 5 locations in database.yml (root and no password are fine)
-
$ bundle install
-
$ rake db:create:all
-
$ mysql -u root -p dke_website_dev < db/dke_website.sql
(root can be changed to the username above) -
$ rake db:migrate
Login in and out
login: 1. type localhost:3000/success as url 2. enter username and leave password blank
logout: 1. type localhost:3000/loggedout as url
fuck seve
Adding a Plugin
-
$ cd plugins
-
$ ./newPlugin.sh PLUGIN_NAME
(Confirmed to work on Linux, may work on other UNIX based systems as well) -
Add plugin to Gemfile (ex. gem “PLUGIN_NAME”, path: ‘PATH’)
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
…
Please feel free to use a different markup language if you do not plan to run rake doc:app
.