Discussion:
[Trac-dev] Docker for Trac Development
Walty Yeung
2016-01-23 05:18:55 UTC
Permalink
hi,

I have recently set up a gitHub project for quick Trac development based on
Docker (a lightweight virtual machine using the same linux kernel of host
machine), hopefully it could help others in the future.

Here is the site for the project:

https://github.com/walty8/docker-trac-dev

and here is the corresonding Docker file (used by Docker Hub to do docker
instance compilation):

https://hub.docker.com/r/walty8/docker-trac-dev/~/dockerfile/

Normally, one only need *3 steps* to have a fully blown Trac development
environment:


- Install docker <https://docs.docker.com/engine/installation/> (for
example, sudo apt-get install docker.io)
- git clone https://github.com/walty8/docker-trac-dev
- cd docker-trac-dev && sudo sh run.sh (This would download a
precompiled *~200MB* image from Dokcer Hub, for the first run.)


This Docker instance have already the followings set up, so developer don't
need to set up them again:
- latest trac and genshi source code
- a testing trac instance
- 2 authenticated users
- a sample svn repo linked to testing trac instance
- a sample git repo linked to testing trac instance

More detailed instructions are provided in the Readme of Github project.

Any advice would be greatly appreciated.


Thanks
--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...