Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ots
hypha
Commits
cda6a553
Commit
cda6a553
authored
6 years ago
by
Fredrik Jonsson
Browse files
Options
Downloads
Patches
Plain Diff
Update vagrant provision script for gulp 4.
parent
68e83a19
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vagrant/provision.sh
+3
-4
3 additions, 4 deletions
vagrant/provision.sh
with
3 additions
and
4 deletions
vagrant/provision.sh
+
3
−
4
View file @
cda6a553
...
...
@@ -58,10 +58,9 @@ cd $PROJECT_DIR
EOF
# Install node.js and npm
su - vagrant
-c
"curl -sL https://deb.nodesource.com/setup_
8
.x | sudo -E bash -"
su - vagrant
-c
"curl -sL https://deb.nodesource.com/setup_
10
.x | sudo -E bash -"
su - vagrant
-c
"sudo apt-get install -y nodejs"
# Build the static files
su - vagrant
-c
"sudo npm install -g yarn"
su - vagrant
-c
"cd
$PROJECT_DIR
/
$MODULE_NAME
/static_src; yarn install"
su - vagrant
-c
"cd
$PROJECT_DIR
/
$MODULE_NAME
/static_src; yarn build"
su - vagrant
-c
"sudo npm install -g gulp-cli"
su - vagrant
-c
"cd
$PROJECT_DIR
; gulp deploy"
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