A tool to nurture hack ideas into projects and then collaborate on them. It's used during SUSE's hackweek, a week where SUSE employees can experiment without limits and get their opportunity to innovate, collaborate across teams, and learn.
Sphinx (searchd) and MariaDB must be installed and running.
No need to configure and launch Sphinx separately, everything will be taken care of with rake ts:regenerate
.
You can run the development environment with foreman start -p 3000
.
As our project involves somewhat complicated setup (MySQL and Sphinx search)
for a development environment, we have created a Docker Compose setup to
get you up and running.
id -u
) is
something else than 1000
, then copy the docker-compose.override.yml
file
and set your user id number in the variable CONTAINER_USERID
.
cp docker-compose.override.yml.example docker-compose.override.yml
vi docker-compose.override.yml
docker-compose run --rm hackweek bundle exec rake dev:bootstrap
docker-compose up --build
xdg-open http://0.0.0.0:3000
docker-compose exec hackweek rspec
"Remote" connection to the container is available with docker-compose exec hackweek /bin/bash
. You
can run single-shot remote commands like docker-compose exec hackweek rake db:migrate
.