Data-structure and programmatics deployment

DB-project “Flat owner cabinet” has following SQL-dependency(ies):
SQLAUX scripting library, which (in its turn) is represented by the following:
1) SQLAUX in database: [AUX:…] objects (SP, functions etc.);
2) SQLAUX environment: “…_AUX”-variables imported from “SQLAUX\Import\SQLAUX.cmd”.

DEPLOYMENT STEPS (DB AND ENVIRONMENT):

[I]
=== Install SQLAUX scripting library to your system and database: ===

Declare environment variable globally (system category is desirable):
SQLAUX_ROOT=...\HandicraftSDK\SQL\SQLAUX

Translate SQLAUX into database:
1) Go to library folder: “%SQLAUX_ROOT%\Source”;
2) Correct “$sql_settings.cmd”-file:
> set $sql_server=...
> set $sql_database=...
3) Invoke “translate_programmatics.cmd”

[II]
=== Specify SQL-server and database names: ===
1) Goto DB-project folder: “Extralight-ORM test sample (En+Ru)\MyFlat app. (MVC+Razor+TS+ADO+TSQL)\SQL (DB-modelling)”;
2) Correct “$sql_settings.cmd”-file:
> set $sql_server=...
> set $sql_database=...

[III]
=== Apply creation commands for data-structure and programmatics: ===
Order of deployment (MyFlat DB-subsystem):
Table structure\
   create_all_tables.cmd (1)
Data filling\
   fill_with_data.cmd (2)
   Flat services uploading\
      upload_flat_services.cmd (3)
      Flat services select\
         flat_services_select.cmd (3a)
translate_programmatics.cmd (4)

=== Order of removal (MyFlat DB-subsystem): ===
!drop_programmatics.cmd (1)
Table structure\
   !Removal\
      remove_all_tables.cmd (2)

=== Order of SQLAUX-removal (general DB-helpers): ===
1) Go to library folder: “%SQLAUX_ROOT%\Source”;
2) Invoke “!drop_programmatics.cmd”

— — —