

Using ShutIt to Build Your Own Taiga Server
source link: https://zwischenzugs.com/2014/10/07/using-shutit-to-build-your-own-taiga-server/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Using ShutIt to Build Your Own Taiga Server
Recently someone brought to my attention this issue on Github.
https://github.com/taigaio/taiga-scripts/issues/3
It’s a common problem. Awesome-looking project, how exactly do I install it to play with it?
This is a perfect use case for ShutIt.
I built it by setting up a skeleton directory, which creates a standalone ShutIt module:
./shutit skeleton /path/to/shutit/library/taigaio taigaio shutit.tk
which gave me the boilerplate to produce the build section here:
https://github.com/ianmiell/shutit/blob/master/library/taigaio/taigaio.py#L10
You can see the ShutIt API is fairly intuitive – you call commands like login, send, multisend, run_script and logout on the shutit object to perform actions within the bash session that’s set up for you.
Once written, you can test with:
$ cd /path/to/shutit/library/taigaio/bin $ ./build.sh
Then, to run it:
$ docker run -i -t -p 127.0.0.1:8000:8000 -p 127.0.0.1:8001:8001 taigaio bash -c '/root/start_postgres.sh && /root/start_taiga.sh && echo READY! && sleep 3000d'
Navigate to http://localhost:8000 and login as admin/123123
If you just want to get going:
$ docker run -i -t -p 127.0.0.1:8000:8000 -p 127.0.0.1:8001:8001 imiell/taigaio bash -c '/root/start_postgres.sh && /root/start_taiga.sh && echo READY! && sleep 3000d'
Wait to see “READY!” and navigate to http://localhost:8000 and login as admin/123123
Voila:
Published by zwischenzugs
Recommend
-
15
Win at 2048 with Docker and ShutIt (Redux) zwischenzugs Uncategorized...
-
16
Set Up a Deis (Docker-Friendly) Paas on Digital Ocean for $0.18 Per Hour in Six Easy Steps Using ShutIt Introduction What’s Deis? Deis is an open source paas that is Docker-fri...
-
14
Taming Slaves with Docker and ShutIt At our company we had a problem. We used Jenkins for CI, but had no clear way of setting up machines in a reliable portable and reproducible way. We had centralised VMs but provisi...
-
13
Using ShutIt and Docker to play with AWS (Part Two) zwischenzugs Uncategorized...
-
11
Talk on Docker and ShutIt Published by zwischenzugs View all posts by zwischenzugs
-
15
Using ShutIt and Docker to play with AWS (Part One) zwischenzugs Uncategorized...
-
9
Phoenix Deployment with Docker and ShutIt zwischenzugs Uncategorized...
-
21
Docker, ShutIt and the Perfect 2048 Game (Videos) Video of how to create a 2048 See also: to create the shutit server in 3 minutes and a mysql docker container creator:
-
13
Docker, ShutIt and the Perfect 2048 Game (4 – Halfway There) Published by zwischenzugs View all posts by zwis...
-
7
Home PHP Build your own OAuth2 Server with PHP and Sy...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK