brew install mysql
rake db:migrate
cp secrets.yaml.template secrets.yaml
You need to login to mysql
, and create the database names for your development and test environments and fill it in secrets.yaml
. For example,
In mysql
:
CREATE DATABASE groot_quote_service_dev
ruby app.rb
:: GET :: /quotes /quotes/:id /status
:: HEAD :: /quotes /quotes/:id /status
:: POST :: /quotes /quotes/:id/vote
:: DELETE :: /quotes/:id /quotes/:id/vote
:: PUT :: /quotes/:id/approve
Run rake db:liquid
to migrate a table dump of previous quotes in csv format. An example can be seen under scripts/data.csv.template
.
This project is licensed under the University of Illinois/NCSA Open Source License. For a full copy of this license take a look at the LICENSE file.
When contributing new files to this project, preappend the following header to the file as a comment:
Copyright © 2017, ACM@UIUC
This file is part of the Groot Project.
The Groot Project is open source software, released under the University of Illinois/NCSA Open Source License.
You should have received a copy of this license in a file with the distribution.