Skip to content
SUSE Hack Week tools and data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Show the real count of comments made by a user Dec 28, 2018
archive
bin
config
db
design
lib
public
spec
storage
tools
vendor
.gitignore
.rspec
.rubocop.yml
.rubocop_todo.yml
.travis.yml
CREDITS.md
Dockerfile
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
TODO
Vagrantfile
bootstrap.sh
config.ru
docker-compose.override.yml.example
docker-compose.yml
package.json

README.md

Build Status Coverage Status Code Climate

HackWeek

A tool to nurture hack ideas into projects and then collaborate on them. It's used during SUSEs hackweek, a week where SUSE engineers can experiment without limits and get their opportunity to innovate, collaborate across teams, and learn.

Features

  • Admins can add hackweeks
  • Users create ideas for a hackweek
  • Users can like and comment on ideas
  • Users can join ideas turning them into projects
  • Users can supplement projects with files, links, agenda items and "needs"
  • Users can supplement themselves with "haves"
  • Ideas/Projects "needs" are matched to Users "haves"
  • Admins can rate project results

Requirements

Sphinx (searchd) must be installed. No need to configure and launch it separately, everything will be taken care of with rake ts:regenerate.

Hack it

As our project involves somewhat complicated setup (MySQL and Shpinx search) for a development environment, we have created docker and vagrant files to get you up and running.

Docker

  1. Since we mount the hackweek repository into our container we need to map your local user id to the one of the container user. To do that copy the docker-compose.override.yml file and enter your user id (id -u) as CONTAINER_USERID.
cp docker-compose.override.yml.example docker-compose.override.yml
vi docker-compose.override.yml
  1. Set up the development environment:
docker-compose run --rm hackweek bundle exec rake dev:bootstrap
  1. Start the development environment:
docker-compose up --build

Vagrant

  1. Install VirtualBox and vagrant
  2. Install vagrant-exec plugin:
vagrant plugin install vagrant-exec
  1. Start our openSUSE 42.3 based virtual machine with vagrant
vagrant up
  1. Launch the application
vagrant exec foreman start
  1. Access the appliaction as usual
xdg-open http://localhost:3000
  1. Start hacking
  2. Test your changes
vagrant exec rspec
  1. Send pull request
  2. $UCCE$$

Remote connection to the virtual machine is available with vagrant ssh. You can run single-shot remote commands like vagrant exec rake db:migrate. If you are done hacking you can stop the virtual machine with vagrant halt and remove all traces of it with vagrant destroy.

Resources

  • Design mockups of the rails app are in the design directory.
  • The project list for HackWeek9 is in the Wiki.
  • There are some tools in the tool directory.
  • Data of past hackweeks is in the archive directory.
  • The source of the old webpage is in the gh-pages branch.
You can’t perform that action at this time.