/open-furniture

Icalia´s Open Source Furniture Collection

Primary LanguageHTML

Open Furniture

Overview

Open Furniture is a furniture collection for home, workplace or both. You can download the files with the templates to print and assemble them on your own or with the help from a local carpenter.

Installing Docker

The first thing you need to do before start is to install Docker and docker-compose.

Download

If Docker was successfully installed, you should be good to go.

Running the app

To run the app you have to run the following commands:

% docker-compose run --rm web bundle

And once the process is done, you can simply lift the server:

% docker-compose up -d

That command will lift the server which you should be able to see on the browser by going to:

http://localhost:4567/

It may take a while before you see anything, you can follow the logs of the containers with:

% docker-compose logs

Once you see an output like this:

Creating open-furniture_web_1
Attaching to open-furniture_web_1
web_1  | /usr/local/bundle/gems/middleman-livereload-3.4.6/lib/middleman-livereload/reactor.rb:14: warning: toplevel constant Mutex referenced by Thread::Mutex
web_1  | == The Middleman is loading
web_1  | == LiveReload accepting connections from ws://172.21.0.2:35729
web_1  | == View your site at "http://0.0.0.0:4567"
web_1  | == Inspect your site configuration at "http://0.0.0.0:4567/__middleman"

Stopping the app

To stop de application you can just run the following command:

% docker-compose stop