Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
b8d14df3
Commit
b8d14df3
authored
8 years ago
by
David Renshaw
Browse files
Options
Downloads
Patches
Plain Diff
Sandstorm build: use node and npm from Meteor dev bundle, and don't use sudo.
parent
8e1c8c76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.sandstorm/build.sh
+7
-1
7 additions, 1 deletion
.sandstorm/build.sh
.sandstorm/setup.sh
+1
-1
1 addition, 1 deletion
.sandstorm/setup.sh
with
8 additions
and
2 deletions
.sandstorm/build.sh
+
7
−
1
View file @
b8d14df3
...
...
@@ -8,8 +8,14 @@ sudo chown vagrant:vagrant /home/vagrant -R
cd
/opt/app
meteor npm
install
--production
meteor build
--directory
/home/vagrant/
# Use npm and node from the Meteor dev bundle to install the bundle's dependencies.
TOOL_VERSION
=
$(
meteor show
--ejson
$(
<.meteor/release
)
|
grep
'^ *"tool":'
|
sed
-re
's/^.*"(meteor-tool@[^"]*)".*$/\1/g'
)
TOOLDIR
=
$(
echo
$TOOL_VERSION
|
tr
@ /
)
PATH
=
$HOME
/.meteor/packages/
$TOOLDIR
/mt-os.linux.x86_64/dev_bundle/bin:
$PATH
cd
/home/vagrant/bundle/programs/server
sudo
meteor
npm
install
--production
npm
install
--production
# Copy our launcher script into the bundle so the grain can start up.
mkdir
-p
/home/vagrant/bundle/opt/app/.sandstorm/
...
...
This diff is collapsed.
Click to expand it.
.sandstorm/setup.sh
+
1
−
1
View file @
b8d14df3
...
...
@@ -8,7 +8,7 @@ apt-get install build-essential git -y
cd
/opt/
NODE_ENV
=
production
PACKAGE
=
meteor-spk-0.3.
0
PACKAGE
=
meteor-spk-0.3.
1
PACKAGE_FILENAME
=
"
$PACKAGE
.tar.xz"
CACHE_TARGET
=
"/host-dot-sandstorm/caches/
${
PACKAGE_FILENAME
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment