Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Get Trac+Kenaan working in the staging infra #111

Merged
merged 17 commits into from
Sep 25, 2015
Merged

Get Trac+Kenaan working in the staging infra #111

merged 17 commits into from
Sep 25, 2015

Conversation

hawkowl
Copy link
Member

@hawkowl hawkowl commented Sep 6, 2015

No description provided.

@hawkowl
Copy link
Member Author

hawkowl commented Sep 6, 2015

To test this:

vagrant up
fab config.vagrant base.bootstrap
fab config.vagrant t-web.install
fab config.vagrant t-web.makeTestTLSKeys
fab config.vagrant t-web.installTLSKeys
fab config.vagrant trac.install
fab config.vagrant trac.installTestData
fab config.vagrant amptrac.install
fab config.vagrant kenaan.install
fab config.vagrant t-web.start
fab config.vagrant trac.start
fab config.vagrant amptrac.start
fab config.vagrant kenaan.start

Then add 172.16.255.140 twistedmatrix.com in your hosts file and register an account. I haven't got the spam filter tables making themselves yet, so you can't make tickets.

@hawkowl
Copy link
Member Author

hawkowl commented Sep 7, 2015

I tested this locally with these additional commands:

fab config.production trac.dump:prod.dump.tar.gz,False
fab config.vagrant trac.restore:prod.dump.tar.gz,True,False

This will download prod's database, and restore it into the Vagrant VM (without any attachments). Then if you do:

fab config.vagrant trac.restart

...you can log in and look around.

hawkowl added a commit that referenced this pull request Sep 25, 2015
Get Trac+Kenaan working in the staging infra
@hawkowl hawkowl merged commit 428ac4c into master Sep 25, 2015
@glyph
Copy link
Contributor

glyph commented Mar 21, 2016

Trying to turn these instructions into a shell script, I noticed that you need ansible installed first.

@glyph
Copy link
Contributor

glyph commented Mar 21, 2016

I also can't authenticate to trac.

@glyph
Copy link
Contributor

glyph commented Mar 21, 2016

$ fab config.vagrant trac.restart
[172.16.255.140] Executing task 'trac.restart'
[172.16.255.140] run: ~/bin/stop
[172.16.255.140] Passphrase for private key: 

@tomprince tomprince deleted the moar-trac branch March 22, 2016 00:59
glyph added a commit that referenced this pull request Apr 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants