Creating the Distribution ZIP files for new version of TM

Take the master branch of TM from TeamMentor/Master (thanks Dinis for merging the 3.3 branch into master)

Start TM to have it create the Library_Data directory structure

Remove the following from Library_Data\XmlDatabase\User_Data\TMSecretData.config

<SMTP_Server>smtp.sendgrid.net</SMTP_Server>
<SMTP_UserName>TeamMentor</SMTP_UserName>

Then I created the following \Library_Data\XmlDatabase\User_Data\TMconfig.config

<?xml version=”1.0″?>
<TMConfig>
<TMSecurity>
<Show_ContentToAnonymousUsers>true</Show_ContentToAnonymousUsers>
<SSL_RedirectHttpToHttps>false</SSL_RedirectHttpToHttps>
<EvalAccounts_Enabled>false</EvalAccounts_Enabled>
</TMSecurity>
<Git>
<AutoCommit_UserData>true</AutoCommit_UserData>
<AutoCommit_LibraryData>true</AutoCommit_LibraryData>
</Git>
</TMConfig>

And added the libraries to \Library_Data\XmlDatabase\User_Data\TMSecretData.config (x-ed out the sensitive stuff here)

<Libraries_Git_Repositories>
<string>x/Lib_.NET_3.5.git</string>
<string>x/Lib_.NET_4.0.git</string>
<string>x/Lib_CWE.git</string>
<string>x/Lib_Java.git</string>
<string>x/Lib_Android.git</string>
<string>x/Lib_iOS.git</string>
<string>x/Lib_CPP.git</string>
<string>x/Lib_PHP.git</string>
<string>x/Lib_PCI_DSS_Compliance.git</string>
</Libraries_Git_Repositories>

Restarted TM and then reloaded server cache

Then went to each library directory and removed their remotes

Then finally removed the Library configuration from Library_Data\XmlDatabase\User_Data\TMSecretData.config

<Libraries_Git_Repositories />

And started TM

And voila:

Finally I stopped TM. Removed the cache file and zipped up the directory

For OWASP content, I cleared out the TM_Libraries directory

Then added the OWASP repository to \Library_Data\XmlDatabase\User_Data\TMSecretData.config

<Libraries_Git_Repositories>
<string>x/Lib_OWASP.git</string>
</Libraries_Git_Repositories>

Started TM

Then stopped TM, removed the OWASP repository from the Library_Data\XmlDatabase\User_Data\TMSecretData.config

And removed the remotes:

Then finally removed the cache and zipped up the directory

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s