Started by Manj75, June 13, 2018, 14:41:12 PM
Quote from: Manj75 on June 13, 2018, 14:41:12 PMHaving proceeded with trial and error I have discovered that the GIT repository does not get created by Archi. This has to be created upfront using GIT and with the repo URL a blank model can be imported into the workspace. Is this correct approach?[...]Lastly, I have already created a number of Archi models stored in the *.archimate file and I cannot work out how to upload these models to the repository and have it in my collaboration workspace. Can anyone help with this if it is possible.
Quote from: Manj75 on June 13, 2018, 14:41:12 PMAlso I noticed that only one model per repo is permitted, i.e. there is no way to have multiple models in a single repo. Ideally, I want to create an Architecture repo and it divided by project models. Is this possible?
# We exit Archi when the script ends# So the script ends when the last line is reached or when an error is raisedOPTION ExitArchi on# We select the "Architecture" model# and import it from the "PostGreSQL" database (which must be defined in the database plugin preferences)SELECT "Architecture" FROM DATABASE PostGreSQL# If we are here, this means that the "Architecture" model has been loaded# and is now the current modelREPORT HTML TO "/var/www/archi"# We close the modelCLOSE# This is the end of the script.# Now Archi will be closed (see ExitArchi option at the beginning of the script)