Giter Club home page Giter Club logo

docker-chouette's Introduction

Chouette2 is an open source web project in Ruby/Rails for editing and viewing Public Transport data For more information see https://github.com/afimb/chouette2/ and http://www.chouette.mobi

For Linux/Ubuntu

If you are new to docker : so as to avoid lauching docker with sudo, docker, you'll need to add your user to the docker group (if it doesn't exist : sudo groupadd docker) ; for Ubuntu the command will be sudo adduser nom_utilisateur docker or sudo usermod -a -G docker nom_utilisateur Then restart docker

For docker-toolbox on Mac or Windows:

If your are on Mac or Windows, you must change every localhost with the ip address given by docker on startup. You can see it by typing from the Docker QuickStart Terminal : docker-machine ip

Run Mailcatcher to catch emails:

(you can also use letter_opener)

docker run -d -p 1080:80 --name=smtp tophfr/mailcatcher:0.6.4

Then open your browser to: http://localhost:1080

Run Chouette2:

Current stable version is 3.2 if you want to test the next version change at the end of the line 3.2 to latest

docker run -d --link smtp -e SMTP_HOST=smtp -e TZ=Europe/Paris -p 3000:3000 -it --name docker-chouette afimb/docker-chouette:3.2

Then open your browser to: http://localhost:3000

Create a Chouette2 user:

The user first has to create an account. The inscription e-mail will be catched by MailCatcher so you'll have to go to localhost:1080 to read the inscription e-mail, click on the confirmation button, which will be bring you back to the chouette2 application, where you can now log in. (If on Mac or Windows, you'll have to substitute localhost by the IP of your docker VM when confirming your inscription...)

How to use external SMTP like Gmail

To-Do

docker-chouette's People

Contributors

brunto avatar srouthiau avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.