Public Repository

Last pushed: 2 years ago
Short Description
A Serious Game Engine for Sustainability
Full Description

Docker image for Makahiki

A Serious Game Engine for Sustainability.

[https://github.com/csdl/makahiki]

Usage

  1. $docker pull yongwen/makahiki

  2. start a postgres container
    $docker pull postgres
    $docker run -d --name db postgres

  3. initialize the Makahiki server
    create a .env file with:
    MAKAHIKI_DATABASE_URL=postgres://postgres:@db:5432/postgres
    MAKAHIKI_ADMIN_INFO=admin:<pwd>

$docker run -ti --rm --link db:db -p 8000:8000 --env-file .env --name web yongwen/makahiki python makahiki/scripts/initialize_instance.py -t default -d

  1. start the server
    $docker run -d --link db:db -p 8000:8000 --env-file .env --name web yongwen/makahiki python makahiki/manage.py runserver 0:8000
Docker Pull Command
Owner
yongwen