Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Development

DominikFischli edited this page Dec 8, 2017 · 33 revisions

Setup Development Environment

Install the database and dependencies using this command (Ubuntu):

sudo apt-get install sqlite3 mysql-client libmysqlclient-dev libqtwebkit-dev

Install RVM (Ruby Version Manager):

see rvm.io.

Install Ruby and the Ruby-Bundler:

rvm install 2.2.6

gem install bundler

Cryptopus

Go to your target Directory and clone the repository:

git clone git://github.com/puzzle/cryptopus.git

Build Cryptopus with the bundler:

cd cryptopus

bundle install Create and initialize the database:

rake db:create

rake db:setup

rake geo:fetch

Start the Rails server:

rails s

Browse to https://localhost:3000 and login with default credentials:

user = "root" and password = "password"


Development Process

Before a Pull Request

  1. Run Rubocop rake rubocop
  2. Run all Tests rake
  3. Update CHANGELOG.md

Before Release

  1. Check CHANGELOG.md
  2. Check VERSION.md
  3. Tag the new release with git tag ...
  4. Merge into stable branch
  5. Update VERSION.md on master branch

Clone this wiki locally