Git Product home page Git Product logo

pootle-docker's Introduction

Pootle Docker Container

This is the source for jannkleen/pootle in the docker index.

Installation

  • The easy way:

    docker pull jannkleen/pootle
    
  • The other way:

    git clone https://github.com/JannKleen/pootle-docker.git
    
    cd pootle-docker
    
    docker build .
    

Running Pootle

You probably want to set up a persistant database so you don't loose all your data and settings every time your container is restarted. This is done using Data Volume Containers (http://docs.docker.io/en/latest/use/working_with_volumes/)

There is a simple bootstrap script which creates the Volume Container for you, just run:

/usr/bin/wget -O - https://raw.github.com/JannKleen/pootle-docker/master/bootstrap.sh | sh -s -

After that you should start your pootle instance by running:

docker run -p 80:8000 --volumes-from POOTLEDB jannkleen/pootle

Notes

  • By default the django instance (run by CherryPy) is listening on port 8000 with ALLOWED_HOSTS set to '*'. This means you can theoretically expose the docker port to external access, although this is probably not a good idea.
  • Pootle computes a lot of stuff when it first starts up, so the first request will take much longer than subsequent ones.
  • Default admin credentials are 'admin':'admin'

pootle-docker's People

Contributors

firehist avatar jannkleen avatar jk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pootle-docker's Issues

Expose settings/data directories as volume

Maybe I am missing something, but it seems I can't integrate Pootle with VCSes since I can't access the expected data directories. I would suggest to put the pootle.conf file in a shared volume as well and preconfigure the data paths to that volume.

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.