From 562be07f97e6ce28585fc66e3575a6802fb5b677 Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 23 Aug 2016 23:10:53 -0600 Subject: [PATCH] Revised phet-io deployment instructions, see https://github.com/phetsims/function-builder/issues/100 --- deployment-info/sim_deployment.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment-info/sim_deployment.md b/deployment-info/sim_deployment.md index 020fbb3a..83990188 100644 --- a/deployment-info/sim_deployment.md +++ b/deployment-info/sim_deployment.md @@ -113,12 +113,12 @@ It places a copy on spot's dev site and a copy on figaro (not figaro-dev) 2. Run `grunt build-phet-io` 3. Run `grunt deploy-dev` to deploy the simulation to spot 4. Check that the `protected` directory is password protected (by .htaccess) by visiting your version of this link: `http://www.colorado.edu/physics/phet/dev/html/SIMULATION/VERSION/phet-io/protected/` -5. Copy the simulation from spot to figaro: +5. Copy the simulation from spot to phet-server: - 1. ssh into spot - 2. scp -r /htdocs/physics/phet/dev/html/SIMULATION/VERSION USERNAME(at)figaro.colorado.edu:/data/web/htdocs/phet-io/0.1/sims/SIMULATION/VERSION + 1. ssh into phet-server.int (requires VPN) + 2. scp -r spot:/htdocs/physics/phet/dev/html/SIMULATION/VERSION /data/web/static/phet-io/0.1/sims/SIMULATION/VERSION 6. The .htaccess that are deployed are only suitable for spot, you must copy a working .htaccess file from concentration/1.3.0-dev.3 on figaro to the new directory: - 1. ssh into figaro - 2. cp /data/web/htdocs/phet-io/0.1/sims/concentration/1.3.0-dev.3/phet-io/protected/.htaccess /data/web/htdocs/phet-io/0.1/sims/SIMULATION/VERSION/phet-io/protected/.htaccess + 1. ssh into phet-server.int (requires VPN) + 2. cp /data/web/static/phet-io/0.1/sims/concentration/1.3.0-dev.3/phet-io/protected/.htaccess /data/web/static/phet-io/0.1/sims/SIMULATION/VERSION/phet-io/protected/.htaccess