tactic remove project

阅读: 评论:0

tactic remove project

tactic remove project

2019独角兽企业重金招聘Python工程师标准>>>

.html

删除 tacitc 的project必须要手动

要删除三个东西

project 的assets 文件夹

project的 database

project在数据库的tabel

Remove Projects

There is no user interface in TACTIC to remove a project. This is because the complete            removal of a project has some pretty significant consequences. When a project is created, a            number of elements are created. These are listed below.

Note

This task may need to be carried out by the Tactic System Admin as it involves                           manually accessing both the Tactic File system and the Tactic Database

In all of the following examples, <project_code> represents the code of the project                    when the project was created.

  • A database called <project_code>

  • An assets directory in <tactic_asset_dir>

  • Entry in the project table

A complete removal of a project should be handled with care. This is                              most often desirably when a project has been created in properly. It is one of the few                              operations that is not undo-able in TACTIC, so it is recommended to be careful when                              proceeding with the following steps. It is also recommended that a complete backup of                              TACTIC is performed before carrying out this process.

Remove the project directory
cd <project_install_dir>/sites
rm -rf <project_code>
Remove the database
psql -U postgres sthpw
drop database "<project_code>";
Remove the assets directory
cd <project_asset_dir>
rm -rf <project_code>
Remove the entry in the projects table in the                    database
psql -U postgres sthpw
delete from project where code='<project_code>';
Remove connected entities in the sthpw                    database;

In this process, Tactic may not allow removing a particular project due to there being                    child tasks, notes, snapshots, files, wdg_settings etc. If Tactic denies revoval because,                    for example there is a connection in the file table, you will need to do the                    following

delete from file where project_code='<project_code>';
delete from snapshot where project_code='<project_code>';
delete from task where project_code='<project_code>';
delete from note where project_code='<project_code>';
delete from wdg_settings where project_code='<project_code>';
delete from pref_setting where project_code='<project_code>';


转载于:

本文发布于:2024-01-29 09:07:48,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170649047114207.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

下一篇:xmlrpc java实现
标签:tactic   remove   project
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23