northstack / northstack-client

NorthStack Client
https://northstack.com
GNU General Public License v3.0
7 stars 1 forks source link

App type templates #40

Closed mm-pagely closed 5 years ago

mm-pagely commented 5 years ago

How it looks


$ northstack app:create app-type app-type.com
Enter the title of the site: (Default: app-type) 
Enter the WP admin username: (Default: user@org.com) 
Enter the WP admin password: (Default: randomly generated) 
Enter the WP admin email address: (Default: user@org.com) 
Is this a multi-site WP app? (Default: false) 
WordPress version:  (Default: 4.8) 
Creating directory /tmp/ns-test/app-type/config
Creating directory /tmp/ns-test/app-type/app
Creating directory /tmp/ns-test/app-type/app/public
Creating directory /tmp/ns-test/app-type/config/prod
Creating directory /tmp/ns-test/app-type/config/test
Creating directory /tmp/ns-test/app-type/config/dev
Woohoo! Your NorthStack instance (app-type) was created successfully. Here are your prod, testing, and dev apps:
 ------------------------ ------------- -------------------------------------------------------- ----------------------------------- 
  id                       environment   fqdn                                                     config path                        
 ------------------------ ------------- -------------------------------------------------------- ----------------------------------- 
  9NzEyvrXcEBzRDvqrEthe7   prod          app-type.com                                             /tmp/ns-test/app-type/config/prod  
  mrStrrVdYpzdgxd9mSTMKH   test          ns-mrStrrVdYpzdgxd9mSTMKH.dev-us-east-1-northstack.com   /tmp/ns-test/app-type/config/test  
  xrA4en4PkQLrgfZy5MgyzV   dev           ns-xrA4en4PkQLrgfZy5MgyzV.dev-us-east-1-northstack.com   /tmp/ns-test/app-type/config/dev   
 ------------------------ ------------- -------------------------------------------------------- ----------------------------------- ```