@powerhousedao/ph-cli 0.40.85-dev.0 → 0.40.85-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,313 @@
1
+ # PowerShell script for setting up Powerhouse environment on Windows
2
+ param(
3
+ [string]$TARGET_TAG = "latest"
4
+ )
5
+
6
+ # Function to check if running as administrator
7
+ function Test-Administrator {
8
+ $user = [Security.Principal.WindowsIdentity]::GetCurrent()
9
+ $principal = New-Object Security.Principal.WindowsPrincipal $user
10
+ $principal.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)
11
+ }
12
+
13
+ # Check if running as administrator
14
+ if (-not (Test-Administrator)) {
15
+ Write-Host "Please run this script as Administrator" -ForegroundColor Red
16
+ exit 1
17
+ }
18
+
19
+ # Install required packages using winget
20
+ Write-Host "Installing required packages..."
21
+ winget install -e --id PostgreSQL.PostgreSQL
22
+ winget install -e --id NGINX.NGINX
23
+
24
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
25
+ Write-Host " Setting up global project"
26
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
27
+
28
+ # Create installation directory if it doesn't exist
29
+ $installPath = "C:\www"
30
+ if (-not (Test-Path $installPath)) {
31
+ New-Item -ItemType Directory -Path $installPath
32
+ }
33
+ Set-Location $installPath
34
+
35
+ # Initialize Powerhouse project
36
+ ph init powerhouse
37
+ Set-Location powerhouse
38
+ ph use $TARGET_TAG
39
+ ph connect build
40
+
41
+ # Interactive package installation loop
42
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
43
+ Write-Host " Package Installation"
44
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
45
+ while ($true) {
46
+ $package_name = Read-Host "Enter package name to install (or press Enter to skip)"
47
+ if ([string]::IsNullOrEmpty($package_name)) {
48
+ break
49
+ }
50
+ ph install $package_name
51
+ }
52
+
53
+ # Database Configuration
54
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
55
+ Write-Host " Database Configuration"
56
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
57
+ Write-Host "Choose database type:"
58
+ Write-Host "1) Local PostgreSQL database"
59
+ Write-Host "2) Remote PostgreSQL database"
60
+ $db_choice = Read-Host "Enter your choice (1 or 2)"
61
+
62
+ if ($db_choice -eq "1") {
63
+ Write-Host "Setting up local PostgreSQL database..."
64
+
65
+ # Generate database credentials
66
+ $DB_PASSWORD = "powerhouse"
67
+ $DB_USER = "powerhouse"
68
+ $DB_NAME = "powerhouse"
69
+
70
+ # Create database and user using psql
71
+ $env:PGPASSWORD = "postgres" # Default PostgreSQL password
72
+ psql -U postgres -c "CREATE USER $DB_USER WITH PASSWORD '$DB_PASSWORD';"
73
+ psql -U postgres -c "CREATE DATABASE $DB_NAME OWNER $DB_USER;"
74
+ psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE $DB_NAME TO $DB_USER;"
75
+
76
+ # Set DATABASE_URL for local database
77
+ $DATABASE_URL = "postgresql://$DB_USER`:$DB_PASSWORD@localhost:5432/$DB_NAME"
78
+
79
+ Write-Host "Local database configured successfully!"
80
+ Write-Host "Database URL: $DATABASE_URL"
81
+ Write-Host "Please save these credentials securely!"
82
+ } else {
83
+ Write-Host "Enter remote PostgreSQL URL (format: postgresql://user:password@host:port/db)"
84
+ Write-Host "Example: postgresql://powerhouse:password@db.example.com:5432/powerhouse"
85
+ $DATABASE_URL = Read-Host "DATABASE_URL"
86
+ }
87
+
88
+ # Save DATABASE_URL to .env file
89
+ Add-Content -Path "$installPath\powerhouse\.env" -Value "DATABASE_URL=$DATABASE_URL"
90
+
91
+ # SSL Configuration choice
92
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
93
+ Write-Host " SSL Configuration"
94
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
95
+ Write-Host "Choose SSL configuration:"
96
+ Write-Host "1) Let's Encrypt certificates for domains"
97
+ Write-Host "2) Self-signed certificate for machine hostname"
98
+ $ssl_choice = Read-Host "Enter your choice (1 or 2)"
99
+
100
+ if ($ssl_choice -eq "1") {
101
+ # Install certbot for Let's Encrypt
102
+ winget install -e --id Certbot.Certbot
103
+
104
+ # Domain setup
105
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
106
+ Write-Host " Domain Setup"
107
+ Write-Host "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
108
+ $base_domain = Read-Host "Enter base domain (e.g. powerhouse.xyz)"
109
+ $connect_subdomain = Read-Host "Enter subdomain for Connect service (default: connect)"
110
+ $switchboard_subdomain = Read-Host "Enter subdomain for Switchboard service (default: switchboard)"
111
+
112
+ # Set default subdomains if not provided
113
+ if ([string]::IsNullOrEmpty($connect_subdomain)) { $connect_subdomain = "connect" }
114
+ if ([string]::IsNullOrEmpty($switchboard_subdomain)) { $switchboard_subdomain = "switchboard" }
115
+
116
+ # Construct full domains
117
+ $connect_domain = "$connect_subdomain.$base_domain"
118
+ $switchboard_domain = "$switchboard_subdomain.$base_domain"
119
+
120
+ Write-Host "Using domains:"
121
+ Write-Host "Connect: $connect_domain"
122
+ Write-Host "Switchboard: $switchboard_domain"
123
+
124
+ # Generate temporary SSL certificates
125
+ Write-Host "Generating temporary SSL certificates..."
126
+ $sslPath = "C:\nginx\ssl"
127
+ if (-not (Test-Path $sslPath)) {
128
+ New-Item -ItemType Directory -Path $sslPath
129
+ }
130
+
131
+ # Create Nginx configuration for domains
132
+ $nginxConfig = @"
133
+ # Security headers
134
+ add_header Strict-Transport-Security "max-age=63072000" always;
135
+ add_header X-Frame-Options DENY;
136
+ add_header X-Content-Type-Options nosniff;
137
+ add_header X-XSS-Protection "1; mode=block";
138
+
139
+ server {
140
+ listen 80;
141
+ server_name $connect_domain $switchboard_domain;
142
+ return 301 https://`$host`$request_uri;
143
+ }
144
+
145
+ server {
146
+ listen 443 ssl http2;
147
+ server_name $connect_domain;
148
+
149
+ ssl_certificate $sslPath\temp.crt;
150
+ ssl_certificate_key $sslPath\temp.key;
151
+
152
+ # SSL configuration
153
+ ssl_protocols TLSv1.2 TLSv1.3;
154
+ ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
155
+ ssl_prefer_server_ciphers off;
156
+ ssl_session_timeout 1d;
157
+ ssl_session_cache shared:SSL:50m;
158
+ ssl_session_tickets off;
159
+ ssl_stapling on;
160
+ ssl_stapling_verify on;
161
+
162
+ if (`$http_x_forwarded_proto = "http") {
163
+ return 301 https://`$server_name`$request_uri;
164
+ }
165
+
166
+ location / {
167
+ root C:/www/powerhouse/.ph/connect-build/dist;
168
+ try_files `$uri `$uri/ /index.html;
169
+ add_header Cache-Control "no-cache";
170
+ add_header X-Forwarded-Proto `$scheme;
171
+ add_header X-Forwarded-Host `$host;
172
+ add_header X-Forwarded-Port `$server_port;
173
+ }
174
+ }
175
+
176
+ server {
177
+ listen 443 ssl http2;
178
+ server_name $switchboard_domain;
179
+
180
+ ssl_certificate $sslPath\temp.crt;
181
+ ssl_certificate_key $sslPath\temp.key;
182
+
183
+ location / {
184
+ proxy_pass http://localhost:4001;
185
+ proxy_http_version 1.1;
186
+ proxy_set_header Upgrade `$http_upgrade;
187
+ proxy_set_header Connection 'upgrade';
188
+ proxy_set_header Host `$host;
189
+ proxy_cache_bypass `$http_upgrade;
190
+ proxy_set_header X-Real-IP `$remote_addr;
191
+ proxy_set_header X-Forwarded-For `$proxy_add_x_forwarded_for;
192
+ proxy_set_header X-Forwarded-Proto `$scheme;
193
+ }
194
+ }
195
+ "@
196
+
197
+ # Save Nginx configuration
198
+ $nginxConfig | Out-File -FilePath "C:\nginx\conf\sites-available\powerhouse.conf" -Encoding UTF8
199
+
200
+ # Create symbolic link to enable the site
201
+ if (-not (Test-Path "C:\nginx\conf\sites-enabled")) {
202
+ New-Item -ItemType Directory -Path "C:\nginx\conf\sites-enabled"
203
+ }
204
+ New-Item -ItemType SymbolicLink -Path "C:\nginx\conf\sites-enabled\powerhouse.conf" -Target "C:\nginx\conf\sites-available\powerhouse.conf" -Force
205
+
206
+ # Test Nginx configuration
207
+ nginx -t
208
+
209
+ # Restart Nginx
210
+ Stop-Service nginx
211
+ Start-Service nginx
212
+
213
+ # Obtain SSL certificates
214
+ Write-Host "Obtaining SSL certificates..."
215
+ certbot --nginx -d $connect_domain -d $switchboard_domain --non-interactive --agree-tos --email "admin@$base_domain"
216
+
217
+ } else {
218
+ # Get machine hostname
219
+ $hostname = [System.Net.Dns]::GetHostName()
220
+
221
+ # Generate self-signed certificate
222
+ Write-Host "Generating self-signed certificate for $hostname..."
223
+ $sslPath = "C:\nginx\ssl"
224
+ if (-not (Test-Path $sslPath)) {
225
+ New-Item -ItemType Directory -Path $sslPath
226
+ }
227
+
228
+ # Create Nginx configuration for self-signed
229
+ $nginxConfig = @"
230
+ # Security headers
231
+ add_header Strict-Transport-Security "max-age=63072000" always;
232
+ add_header X-Frame-Options DENY;
233
+ add_header X-Content-Type-Options nosniff;
234
+ add_header X-XSS-Protection "1; mode=block";
235
+
236
+ server {
237
+ listen 80;
238
+ server_name $hostname;
239
+ return 301 https://`$host`$request_uri;
240
+ }
241
+
242
+ server {
243
+ listen 443 ssl http2;
244
+ server_name $hostname;
245
+
246
+ ssl_certificate $sslPath\$hostname.crt;
247
+ ssl_certificate_key $sslPath\$hostname.key;
248
+
249
+ location /connect {
250
+ proxy_pass http://localhost:3000;
251
+ proxy_http_version 1.1;
252
+ proxy_set_header Upgrade `$http_upgrade;
253
+ proxy_set_header Connection 'upgrade';
254
+ proxy_set_header Host `$host;
255
+ proxy_cache_bypass `$http_upgrade;
256
+ proxy_set_header X-Real-IP `$remote_addr;
257
+ proxy_set_header X-Forwarded-For `$proxy_add_x_forwarded_for;
258
+ proxy_set_header X-Forwarded-Proto `$scheme;
259
+ }
260
+
261
+ location /switchboard {
262
+ proxy_pass http://localhost:4001;
263
+ proxy_http_version 1.1;
264
+ proxy_set_header Upgrade `$http_upgrade;
265
+ proxy_set_header Connection 'upgrade';
266
+ proxy_set_header Host `$host;
267
+ proxy_cache_bypass `$http_upgrade;
268
+ proxy_set_header X-Real-IP `$remote_addr;
269
+ proxy_set_header X-Forwarded-For `$proxy_add_x_forwarded_for;
270
+ proxy_set_header X-Forwarded-Proto `$scheme;
271
+ }
272
+ }
273
+ "@
274
+
275
+ # Save Nginx configuration
276
+ $nginxConfig | Out-File -FilePath "C:\nginx\conf\sites-available\powerhouse.conf" -Encoding UTF8
277
+
278
+ # Create symbolic link to enable the site
279
+ if (-not (Test-Path "C:\nginx\conf\sites-enabled")) {
280
+ New-Item -ItemType Directory -Path "C:\nginx\conf\sites-enabled"
281
+ }
282
+ New-Item -ItemType SymbolicLink -Path "C:\nginx\conf\sites-enabled\powerhouse.conf" -Target "C:\nginx\conf\sites-available\powerhouse.conf" -Force
283
+
284
+ # Test Nginx configuration
285
+ nginx -t
286
+
287
+ # Restart Nginx
288
+ Stop-Service nginx
289
+ Start-Service nginx
290
+ }
291
+
292
+ # Install PM2 globally if not already installed
293
+ if (-not (Get-Command pm2 -ErrorAction SilentlyContinue)) {
294
+ pnpm install -g pm2
295
+ }
296
+
297
+ # Run database migrations
298
+ pnpm prisma db push --schema node_modules/document-drive/dist/prisma/schema.prisma
299
+ pnpm add @powerhousedao/switchboard@dev
300
+
301
+ # Start services with PM2
302
+ Write-Host "Starting services with PM2..."
303
+ if ($ssl_choice -eq "2") {
304
+ # Self-signed certificate - use base paths
305
+ pm2 start pnpm switchboard --name "switchboard" -- --base-path /switchboard
306
+ } else {
307
+ # Let's Encrypt - no base paths needed
308
+ pm2 start "pnpm switchboard" --name "switchboard"
309
+ }
310
+
311
+ # Save PM2 process list and setup startup script
312
+ pm2 save
313
+ pm2 startup
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env bash
2
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
3
+ \. ~/.nvm/nvm.sh
4
+ export NVM_DIR="$HOME/.nvm"
5
+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
6
+ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
7
+ nvm --version
8
+ nvm install 22
9
+ curl -fsSL https://get.pnpm.io/install.sh | sh -
10
+ export PNPM_HOME="/home/$USER/.local/share/pnpm"
11
+ export PATH="$PNPM_HOME:$PATH"
12
+ pnpm install -g ph-cmd
13
+ echo ""
14
+ echo " 🎉 Setup Complete! 🎉"
15
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
16
+ echo " To complete installation:"
17
+ echo " 1. Restart your terminal"
18
+ echo " OR"
19
+ echo " Run: source ~/.bashrc"
20
+ echo ""
21
+ echo " 2. Start using Powerhouse by typing:"
22
+ echo " ph"
23
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
24
+ echo ""
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAY9C,eAAO,MAAM,QAAQ,2BAYpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,OAAO,EAAE,OAAO,QAExD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAa9C,eAAO,MAAM,QAAQ,2BAapB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,OAAO,EAAE,OAAO,QAExD"}
@@ -7,6 +7,7 @@ import { installCommand } from "./install.js";
7
7
  import { listCommand } from "./list.js";
8
8
  import { reactorCommand } from "./reactor.js";
9
9
  import { serviceCommand } from "./service.js";
10
+ import { setupServiceCommand } from "./setup-service.js";
10
11
  import { switchboardCommand } from "./switchboard.js";
11
12
  import { uninstallCommand } from "./uninstall.js";
12
13
  export const commands = [
@@ -21,6 +22,7 @@ export const commands = [
21
22
  listCommand,
22
23
  inspectCommand,
23
24
  switchboardCommand,
25
+ setupServiceCommand,
24
26
  ];
25
27
  export default function registerCommands(program) {
26
28
  commands.forEach((command) => command(program));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,yCAAyC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gB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AQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAClD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type Command } from "commander";
2
+ export declare function setupServiceCommand(program: Command): void;
3
+ //# sourceMappingURL=setup-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-service.d.ts","sourceRoot":"","sources":["../../../src/commands/setup-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAOnD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,QAYnD"}
@@ -0,0 +1,32 @@
1
+ import { Argument } from "commander";
2
+ import { spawn } from "node:child_process";
3
+ import path from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+ import { serviceHelp } from "../help.js";
6
+ import { setCustomHelp } from "../utils.js";
7
+ export function setupServiceCommand(program) {
8
+ const command = program
9
+ .command("setup-service")
10
+ .description("Setup services")
11
+ .action(setupServices)
12
+ .addArgument(new Argument("environment", "The environment to setup")
13
+ .default("latest")
14
+ .choices(["latest", "dev", "staging"]));
15
+ setCustomHelp(command, serviceHelp);
16
+ }
17
+ function setupServices(environment) {
18
+ const dirname = import.meta.dirname || path.dirname(fileURLToPath(import.meta.url));
19
+ const scriptPath = path.join(dirname, "..", "..", "scripts", "setup-environment");
20
+ const process = spawn("bash", [scriptPath, environment], {
21
+ stdio: "inherit", // This will pipe stdin/stdout/stderr directly to the parent process
22
+ });
23
+ process.on("error", (err) => {
24
+ console.error("Failed to start process:", err);
25
+ });
26
+ process.on("close", (code) => {
27
+ if (code !== 0) {
28
+ console.error(`Process exited with code ${code}`);
29
+ }
30
+ });
31
+ }
32
+ //# sourceMappingURL=setup-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-service.js","sourceRoot":"","sources":["../../../src/commands/setup-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EA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,CAAC;IAEH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QAC3B,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,4BAA4B,IAAI,EAAE,CAAC,CAAC;QACpD,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.40.85-dev.0";
1
+ export declare const version = "0.40.85-dev.2";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. DO NOT EDIT.
2
- export const version = "0.40.85-dev.0";
2
+ export const version = "0.40.85-dev.2";
3
3
  //# sourceMappingURL=version.js.map