Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
1d108d0f
Commit
1d108d0f
authored
Jan 27, 2016
by
Robert Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Vagrant to work properly
parent
7f1d6da6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Vagrantfile
Vagrantfile
+4
-2
No files found.
Vagrantfile
View file @
1d108d0f
...
...
@@ -6,9 +6,9 @@ Vagrant.configure(2) do |config|
type:
"shell"
,
inline:
<<-
SHELL
sudo apt-get update
sudo apt-get install -yq ruby
ruby-dev build-essential nodejs git
sudo apt-get install -yq ruby
2.0 ruby2.0-dev pkg-config build-essential nodejs git libxml2-dev libxslt-dev
sudo apt-get autoremove -yq
gem install --no-ri --no-rdoc bundler
gem
2.0
install --no-ri --no-rdoc bundler
SHELL
# add the local user git config to the vm
...
...
@@ -21,12 +21,14 @@ Vagrant.configure(2) do |config|
echo "=============================================="
echo "Installing app dependencies"
cd /vagrant
bundle config build.nokogiri --use-system-libraries
bundle install
SHELL
config
.
vm
.
provision
"run"
,
type:
"shell"
,
privileged:
false
,
run:
"always"
,
inline:
<<-
SHELL
echo "=============================================="
echo "Starting up middleman at http://localhost:4567"
...
...
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