Skip to content

borbit/muchmala

Repository files navigation

Muchmala

Massively Multiplayer Online Puzzle

http://muchmala.com

Manual Installation (OS X)

  1. Install Redis

    brew install redis
  2. Install Node.js

    brew install node
  3. Clone a project repository with all it's submodules:

    git clone --recursive git@github.com:borbit/muchmala.git
  4. Install all the dependencies:

    ./install.sh

    Puzzles generation is built on top of node-canvas which requires Cairo. So, if there is any problems with installing node-canvas look for system-specific installation on Wiki.

  5. Run Muchmala

    If you have Foreman installed:

    foreman start

    Otherwise:

    muchmala-api/bin/muchmala-api
    muchmala-static/bin/muchmala-static
    muchmala-io/bin/muchmala-io
  6. Generate first puzzle:

    cd muchmala-cli
    ./bin/muchmala-cli create path/to/image.jpg -o ../muchmala-static/public
    ./bin/muchmala-cli covers -o ../muchmala-static/public/covers
    ./bin/muchmala-cli frame -o ../muchmala-static/public/frames
  7. Open http://localhost:8002

Vagrant Installation

  1. Add this to your /etc/hosts:

    10.0.6.2 muchmala.dev api.muchmala.dev static.muchmala.dev io.muchmala.dev
  2. Install custom fork of ansible

    [sudo] pip install https://github.com/laggyluke/ansible/archive/roles_combine_vars.zip
  3. Get the Vagrant VM up and running

    vagrant up
  4. Go to the ansible directory and run provisioning for vagrant

    cd ansible
    ./provision.sh vagrant
  5. SSH inside the Vagrant VM

    cd ..
    vagrant ssh
  6. Once inside the VM, go to mounted project dir and run Muchmala

    cd /opt/muchmala
    foreman start
  7. Generate first puzzle:

    cd muchmala-cli
    ./bin/muchmala-cli create path/to/image.jpg -o ../muchmala-static/public
    ./bin/muchmala-cli covers -o ../muchmala-static/public/covers
    ./bin/muchmala-cli frame -o ../muchmala-static/public/frames
  8. Open http://muchmala.dev

Contributors

Contribution

I will be really greateful for any contribution in:

  • Design and usability improvements
  • Mobile and tablets support
  • Performance optimizations
  • Game design
  • Bug fixes

License

Muchmala may be freely distributed under the MIT license.

Copyright (c) 2013 Serge Borbit <serge.borbit@gmail.com>

About

Muchmala, Massively Multiplayer Online Puzzle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published