Skip to content

Commit

Permalink
Revised phet-io deployment instructions, see phetsims/function-builde…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 24, 2016
1 parent 5669d73 commit 3c3ef47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deployment-info/sim_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c3ef47

Please sign in to comment.