- Hack Tracker is a rails based application written to ease tracking and ranking hackday projects and presentations. It dedicates authentication and authorization to Github.
Copy the application.yml.sample file contents located under the config directory and change the values accordingly:
SECRET_TOKEN: 'a secured token usually obtained by running: rake secrets'
DATABASE_HOST: 'your database backend address, not used in development mode'
DATABASE_USERNAME: 'db_username'
DATABASE: 'db_name'
NEW_RELIC_KEY: 'optional'
GITHUB_KEY: 'the client id obtained after creating an oauth application under your profile setting page in github'
GITHUB_SECRET: 'the client id obtained after creating an oauth application under your profile setting page in github'
GITHUB_URL: 'https://github.com or your private github enterprise address'
GITHUB_API_URL: 'https://api.github.com or your private ghe api endpoint.'
*In development mode some directories aren't required but once you do attempt to start the server in production mode, you will need to generate the following file structure: -hackday_io_oss (root directory)
|- ...
|- shared
| |- log
| |- pids
| |- sockets
|
|- ...
Run the following command to respectively Start your sunspot server Migrate your database
rake sunspot:solr:start
rake db:create && rake db:migrate
- Ruby 2.0.0
- Rails 4.0.0
- puma - the Rails server
- postgresql - you'll need a postgres server to test
Clone the repo and install dependencies
cd <your_project_directory>
git clone git@github.com:Microsoft/hackday_io_oss.git
cd hackday_io_oss
bundle install
- Create a new local branch
git checkout -b branch_name
- Make your changes
- Push your branch to github
git push origin branch_name
- Open a pull request
- Code reviewz
- Merge to master
- History of hacks presented in order of queued
- Select winning hacks (admin only)
- Allow videos to be added to hacks (or timestamp a longer video)
- Show judges for a Hack Day
- Move presentations to a specific spot in the queue
- Make votes harder to cheat
- More...
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.