Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Standalone apps can be moves to dev using a gulp command. You will just have to ensure that your .env file will point to the right folder, then just browse the URL and you’re done (see example below)

For QA deployment, there is also a Gulp command involved, that will pack all your app in a ZIP file. We have then to go through an email request to Webmaster, and they will deploy the app.

Step by step procedure

package.json

Make sure your package.json has the right flag “isEmbedded": false

Set-up the deployment on a Mac

Mount network folders

  • In terminal, run cd /Volumes && ls -la. It will list the folders inside /Volumes
  • If you already have your inet mounted for netshare, you should see it. There should NOT be any inet-1 folder (unless you previously mounted it)
  • If you don’t have your inet mounted, mount it: Command+K , then enter smb://netshare.toronto.ca/inetand hit Connect.
  • Then mount the following url: smb://was-intra-sit.toronto.ca/inet/
  • In terminal, run ls -la and you should see both inet and inet-1 . The first is the inet from netshare and the other one is from was-intra-sit.toronto.ca

.env file

Once your folders are mounted right, you need to change your project’s .env file to point it to inet-1.

  • Set your development deploy path as DEV_DEPLOY_PATH=/Volumes/inet-1/insideto-secure/docs/webapps/<your app name>
  • Set your QA deploy path as QA_DEPLOY_PATH=/Volumes/inet-1/insideto-secure/docs/webapps/work/YourName/
  • Save your file

Set-up the deployment on PC

Mount network folders

  • Create a new network drive from \\was-intra-sit.toronto.ca\inet\insideto-secure\docs\webapps\ and assign a letter (example:X)

.env file

  • Set your development deploy path as DEV_DEPLOY_PATH=x:\<your app name>
  • Set your QA deploy path as QA_DEPLOY_PATH=x:\work\YourName
  • Save your file

Deploy your code

When you’re ready to deploy to DEV:

When you’re ready to deploy to QA:

  • run the command gulp release:qa
  • your app will be package in the folder you set before (inet-1 > insideto-secure > docs > webapps > work > YourName )
  • The ZIP will have the app name and a deployment date .
  • Send that ZIP to webmaster. There are 2 different “operation” : create OR replace. Mention it in the email (see below)
  • Body of your email should contain something like :

Hi WebMaster,

Can you deploy/replace the following to QA?

NAME OF YOUR APP

URL : https://was-intra-qa.toronto.ca/webapps/ Please let me know if you require anything else from me or need any additional information.
Thanks, YourName

Page Tree

The selected root page could not be found.

  • No labels