HolismHolding / Issues

1 stars 0 forks source link

Improve naming for Setup, Up, Down commands #158

Open Nefcanto opened 7 months ago

Nefcanto commented 7 months ago

Everywhere use Start and Stop.

20Amir01 commented 7 months ago
amirmohmmad@local:/Holism/AdminPanel$ Start
Command 'Start' not found, did you mean:
  command 'tart' from deb tart (3.10-1build1)
Try: sudo apt install <deb name>

There is not any Start or Stop commands in my system (after Reclone) and also in github repo . Where is it ? :

amirmohmmad@local:/HolismHolding/Commands$ ls
AdHoc              CloneHolism        DockerSave  Load            Pull           Runnables         SiteContainer        Top
Age                CompileSourceCode  Empties     Loc             Push           Safe              Size                 Translate
ApiContainer       ConfigVsCode       Enter       Logs            Reclone        Server            Speed                UndoBase
Build              Containers         FixGit      Networks        RecloneHolism  Setup             Sql                  Update
BuildLocally       Crawl              Get         Org             Redact         SetupAccounts     Ssh                  UpdateBashCompletion
Change             CreateExtension    GitReset    PanelContainer  RegisterHooks  SetupAccountsDev  SshRemoveKey         UploadDockerImages
Check              DatabaseContainer  Images      Pc              RemoveHistory  SetupAll          Status               Vpn
Clean              Diff               Import      Permission      Reset          SetupCrawl        Stop                 Warp
CleanTranslations  Docker             Install     Ping            RestartProd    SetupPolicies     SwitchNs             Where
ClearBuilds        DockerLoad         Ip          Policies        Roles          SetupPush         ToggleDns
Clone              DockerPull         Larges      Post            RunActions     Shut              ToggleDockerMirrors
amirmohmmad@local:/HolismHolding/Commands$ 

So I can not Setup the AdminPanel

Commands :

Setup
ls /Temp/Holism/AdminPanel
docker images

Outputs :

----------

Holism Setup

----------

Directory: /Holism/AdminPanel

Organization: HolismProjects
Repository: Holism
Instance: Holism
App: AdminPanel

----------

/Temp folder has full access
Host is admin.holism.local

Creating certificate for admin.holism.local ...
Setting up NGINX for admin.holism.local ...
/HolismHolding/Scripts/SetupNginx: line 22: /HolismHolding/Infra/Nginx/ProxyIncludes: No such file or directory
/HolismHolding/Scripts/SetupNginx: line 23: /HolismHolding/Infra/NginxReverseProxyTemplateNew: No such file or directory
sed: can't read /etc/nginx/includes/admin.holism.local: No such file or directory
sed: can't read /etc/nginx/conf.d/admin.holism.local.conf: No such file or directory
Setting up local DNS for admin.holism.local ...
Cleaning Docker, pruning images, networks, containers ...

----------

Setting up Panel

----------

----------

Created GitHub action

----------

/HolismHolding/Scripts/SetupPanel: line 88: /HolismHolding/Docker/Composes/Panel: No such file or directory
sed: can't read /Temp/Holism/AdminPanel/DockerCompose.yml: No such file or directory
sed: can't read /Temp/Holism/AdminPanel/DockerCompose.yml: No such file or directory
Using docker compose file => /Temp/Holism/AdminPanel/DockerCompose.yml
stat /Temp/Holism/AdminPanel/DockerCompose.yml: no such file or directory
amirmohmmad@local:/Holism/AdminPanel$ ls /Temp/Holism/AdminPanel
Certificate.pem  Key.pem
amirmohmmad@local:/Holism/AdminPanel$ docker images
REPOSITORY    TAG       IMAGE ID       CREATED         SIZE
holism/site   latest    0db576f02836   2 days ago      2.22GB
holism/api    latest    ea563a3184ff   2 days ago      3.9GB
adminer       latest    b108b9a25fa6   3 days ago      250MB
mariadb       latest    bc6434c28e9a   7 weeks ago     405MB
hello-world   latest    d2c94e258dcb   11 months ago   13.3kB
amirmohmmad@local:/Holism/AdminPanel$ 
Nefcanto commented 7 months ago

@20Amir01, issues labeled enhancement are for the future. They are tasks to be done. Or simple ideas for the future.