Public Repository

Last pushed: a year ago
Short Description
Base installation of wagn, a rails based 'wiki' using an 'index card' metaphor.
Full Description

Base wagn installation with pristine 'mysite' sample wagn site. (Installed on Ubuntu 16.04 with ruby 2.3.0p0)

Start the container:

docker run -it --name wagn -p 3000:3000 doloop/wagn:base bin/bash

Once inside the container:

cd mysite
service mysql start

Then edit two files (nano is installed as a simple text editor). First, edit 'config/database.yml' and add the mysql password (admin) for the three separate databases (development, test and production). Then edit the 'Gemfile' and add gem 'therubyracer'. Then,

bundle install
bundle exec wagn server -b0.0.0.0

This last command binds the built in server to all interfaces, not just localhost or 127.0.0.1. (Otherwise, just enter command wagn server.)

You can then access the new site at http//:localhost:3000 or http://192.168.99.100:3000 depending upon your setup.

Docker Pull Command
Owner
doloop

Comments (0)