Skip to content
Browse files

set newest organic-angel and changed staging server to a new one

  • Loading branch information...
1 parent c39fc7c commit 84801f965f632bceabc9435080abe5df3f8c392f @outbounder outbounder committed Feb 27, 2014
Showing with 33 additions and 19 deletions.
  1. +9 −0 dna/angel.json
  2. +0 −13 dna/cell.json
  3. +14 −0 dna/staging.json
  4. +1 −1 dna/staging/membrane.json
  5. +8 −2 package.json
  6. +1 −3 scripts/release-staging.js
View
9 dna/angel.json
@@ -0,0 +1,9 @@
+{
+ "scripts": [
+ "angelscripts",
+ "angelscripts-cellcmds"
+ ],
+ "abilities": [
+ "angelabilities/src/io.js"
+ ]
+}
View
13 dna/cell.json
@@ -1,13 +0,0 @@
-{
- "remote-siblings": [
- {
- "name": "staging",
- "remote": "node@178.79.148.84",
-
- "source": "git@github.com:VarnaLab/varnalab.org.git",
- "target": "~/varnalab.org",
-
- "main": "varnalab.org-staging.js"
- }
- ]
-}
View
14 dna/staging.json
@@ -0,0 +1,14 @@
+{
+ "remote": "node@176.58.101.229",
+ "cwd": "~/varnalab.org",
+ "source": "git@github.com:VarnaLab/varnalab.org.git",
+ "origin": "origin",
+ "branch": "develop",
+ "nvmPath": "~/.nvm/nvm.sh",
+ "nodeVersion": "v0.10.24",
+ "start": "forever --sourceDir /home/node/varnlab.org -a -l /home/node/varnalab.org/varnalab.org-staging.js.out --minUptime 5000 --spinSleepTime 2000 start varnalab.org-staging.js",
+ "stop": "forever stop varnalab.org-staging.js",
+ "restart": "forever restart varnalab.org-staging.js",
+ "status": "forever list",
+ "build": "CELL_MODE=staging node scripts/prebuild-assets.js"
+}
View
2 dna/staging/membrane.json
@@ -1,6 +1,6 @@
{
"HttpServer": {
- "port": 9090,
+ "port": 5050,
"afterware": [
{
"source": "plasma/httpserver-plugins/static",
View
10 package.json
@@ -46,7 +46,13 @@
"backbone": "1.0.0",
"jquery": "1.8.3",
"nodemon": "0.7.8",
- "wrench": "1.5.1"
+ "wrench": "1.5.1",
+ "organic-angel": "~0.2.8",
+ "angelscripts-cellcmds": "0.0.5",
+ "angelscripts": "0.0.5"
},
- "license": "MIT"
+ "license": "MIT",
+ "node": {
+ "version": "0.10.24"
+ }
}
View
4 scripts/release-staging.js
@@ -1,7 +1,5 @@
require("shelljs/global");
-require('./release');
-
-if(exec("angel Cell upgrade staging").code != 0){
+if(exec("node ./node_modules/organic-angel/bin/angel cell upgrade ./dna/staging").code != 0){
echo("Error: failed to upgrade staging");
exit(1);
}

0 comments on commit 84801f9

Please sign in to comment.
Something went wrong with that request. Please try again.