Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Justin
slapos
Commits
53a3a205
Commit
53a3a205
authored
Feb 14, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working cloud9 for node 0.4
parent
c7e375b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
11 deletions
+28
-11
component/cloud9/buildout.cfg
component/cloud9/buildout.cfg
+28
-11
No files found.
component/cloud9/buildout.cfg
View file @
53a3a205
[buildout]
[buildout]
extends =
extends =
../component/dcron/buildout.cfg
../dcron/buildout.cfg
../component/logrotate/buildout.cfg
../libxml2/buildout.cfg
../component/rdiff-backup/buildout.cfg
../logrotate/buildout.cfg
../component/nodejs.cfg
../rdiff-backup/buildout.cfg
../nodejs/buildout.cfg
parts =
parts =
nodejs
-0.4
nodejs
npm
npm
cloud9
cloud9
[cloud9]
[cloud9]
<= cloud9-git
[cloud9-git]
# Online IDE written in javascript/node.js
# Online IDE written in javascript/node.js
# URL : c9.io
# URL : c9.io
# You can use it using the following command :
# You can use it using the following command :
# NODE_PATH=${:destination}/node_modules ${nodejs:node_location} ${:cloud9_js_location}
# NODE_PATH=${:destination}/node_modules ${nodejs:node_location} ${:cloud9_js_location}
recipe = plone.recipe.command
recipe = plone.recipe.command
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
commit = 97db1467c517d265438684bd2a70b0b76ee282f6
repository = https://github.com/ajaxorg/cloud9.git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command =
git-binary = ${git:location}/bin/git
${npm:install_module_snippet} cloud9
npm-binary = ${nodejs-0.4:location}/bin/node ${npm:location}/bin/npm
# Fix 0.5.1 bug
command = export GIT_SSL_NO_VERIFY=true; (${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} reset --hard ${:commit} && ${:git-binary} submodule update --init && cd support/jsdav && PATH=/opt/slapgrid/c86b6d036d0004572b96e10de1a1b5e8/parts/nodejs-0.4/bin:$PATH LDFLAGS=-L${libxml2:location}/lib ${:npm-binary} install) || (rm -fr ${:location}; exit 1)
ln -s node_modules/cloud9/bin/cloud9.js node_modules/cloud9/server/cloud9/.
update-command =
cloud9_js_location = ${:destination}/node_modules/cloud9/server/cloud9/cloud9.js
[cloud9-npm]
# Online IDE written in javascript/node.js
# URL : c9.io
# You can use it using the following command :
# NODE_PATH=${:destination}/node_modules ${nodejs:node_location} ${:cloud9_js_location}
recipe = slapos.recipe.npm
# Node part has to be specified, otherwise system node is used.
node = nodejs-0.6
# List of packages to install
packages =
cloud9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment