<commit_before>Description
===============

Application used to support a Campus Codefest. Events which are not quite hackathons, not quite educational but fall
somewhere in between. The concept of a Campus Codefest originated at the University of Minnesota, Twin Cities in 2013.
Some of the environmental challenges at the University included decentralized IT function, lack of paid time developing
practical applications and ideas with cross cutting concerns.

The purpose of making this application is to make planning a Campus Codefest easier. This does not have to be a custom
built application if enough functionality can be found in a practical application. If custom code is required, the goal
is to provide this code to other organizations, likely in Higher Education, wishing to perform similiar events.

Contributing
===============
**Requirements**
- Ruby 1.9.3
- rubygems (or RVM, rbenv)
- Git

Clone the repository to your local dev environment.
```
<EMAIL>:chadfennell/ccf.git
```

Bundling will take a LONG time as I require therubyracer to compile less. If you are using RVM, I recommend isolating
the gems by creating a gemset (%rvm gemset create ccf) then focus on it (%rvm gemset use ccf)
```
cd campus_codefest
bundle
```

Set-up your development data base, I am using mysql locally but included an example SQLite DB config for lowest overhead
```
cp config/database.yml.example config/database.yml
bundle exec rake db:create
bundle exec rake db:migrate
```

We use Omniauth to support Google account login. You must generate an OAuth 2.0 API key via Google Developer Console (https://cloud.google.com/console/project), more instructions can be found here: https://developers.google.com/ad-exchange/rtb/open-bidder/google-app-guide#step-5 . Once this is done, copy the example providers.yml file and enter your api key and secret.
```
cp config/providers.yml.example config/providers.yml
```

This is a Test-Driven Development project. Your code should be speced and covered with rspec and capybara. Create a
failing test then implement the code to make it pass for models. Feature tests should be created with capybara.
```
bundle exec rspec
```

Firing up the server, then browse to http://localhost:3000
```
rails s
```

Development Plan
===============
**Phase One (completed)**
- Google Account OAuth2 (UMN has Google Apps for Education) via OmniAuth
- Event, Project, User Administration/Moderation
- Project idea Submission, voting, rating, commenting
- Event registration
- General CCF marketing/information

**Phase Two (Not planned)**
- Support project merging
- Automate creation of project repositories in University GitHub Instance
- ???<commit_msg>updaing readme to reflect config file change<commit_after>Description
===============

Application used to support a Campus Codefest. Events which are not quite hackathons, not quite educational but fall
somewhere in between. The concept of a Campus Codefest originated at the University of Minnesota, Twin Cities in 2013.
Some of the environmental challenges at the University included decentralized IT function, lack of paid time developing
practical applications and ideas with cross cutting concerns.

The purpose of making this application is to make planning a Campus Codefest easier. This does not have to be a custom
built application if enough functionality can be found in a practical application. If custom code is required, the goal
is to provide this code to other organizations, likely in Higher Education, wishing to perform similiar events.

Contributing
===============
**Requirements**
- Ruby 1.9.3
- rubygems (or RVM, rbenv)
- Git

Clone the repository to your local dev environment.
```
git@github.com:chadfennell/ccf.git
```

Bundling will take a LONG time as I require therubyracer to compile less. If you are using RVM, I recommend isolating
the gems by creating a gemset (%rvm gemset create ccf) then focus on it (%rvm gemset use ccf)
```
cd campus_codefest
bundle
```

Set-up your development data base, I am using mysql locally but included an example SQLite DB config for lowest overhead
```
cp config/database.yml.example config/database.yml
bundle exec rake db:create
bundle exec rake db:migrate
```

We use Omniauth to support Google account login. You must generate an OAuth 2.0 API key via Google Developer Console (https://cloud.google.com/console/project), more instructions can be found here: https://developers.google.com/ad-exchange/rtb/open-bidder/google-app-guide#step-5 . Once this is done, copy the example config.yml file and enter your api key and secret to the provider section.
```
cp config/config.yml.example config/config.yml
```

This is a Test-Driven Development project. Your code should be speced and covered with rspec and capybara. Create a
failing test then implement the code to make it pass for models. Feature tests should be created with capybara.
```
bundle exec rspec
```

Firing up the server, then browse to http://localhost:3000
```
rails s
```

Development Plan
===============
**Phase One (completed)**
- Google Account OAuth2 (UMN has Google Apps for Education) via OmniAuth
- Event, Project, User Administration/Moderation
- Project idea Submission, voting, rating, commenting
- Event registration
- General CCF marketing/information

**Phase Two (Not planned)**
- Support project merging
- Automate creation of project repositories in University GitHub Instance
- ???
{'fraction_non_alphanumeric': 0.07787414652149843, 'fraction_numerical': 0.005536076766931168, 'mean_word_length': 4.778251599147121, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6451863', 'n_tokens_mistral': 1470, 'n_tokens_neox': 1363, 'n_words': 724}