Skip to content

Commit 7d83a00

Browse files
committed
add Vagrantfile and update gitignore
1 parent 80b2da2 commit 7d83a00

File tree

2 files changed

+38
-8
lines changed

2 files changed

+38
-8
lines changed

.gitignore

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ typings/
77
sqlite3.o
88
sqlite-amalgamation-3110000.zip
99

10-
# Created by https://www.gitignore.io/api/d,node,bower
10+
# Created by https://www.gitignore.io/api/d,node,vagrant
1111

1212
### D ###
1313
# Compiled Object files
@@ -30,6 +30,10 @@ sqlite-amalgamation-3110000.zip
3030
.dub
3131
docs.json
3232
__dummy.html
33+
docs/
34+
35+
# Code coverage
36+
*.lst
3337

3438

3539
### Node ###
@@ -42,13 +46,17 @@ npm-debug.log*
4246
pids
4347
*.pid
4448
*.seed
49+
*.pid.lock
4550

4651
# Directory for instrumented libs generated by jscoverage/JSCover
4752
lib-cov
4853

4954
# Coverage directory used by tools like istanbul
5055
coverage
5156

57+
# nyc test coverage
58+
.nyc_output
59+
5260
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
5361
.grunt
5462

@@ -58,19 +66,26 @@ coverage
5866
# Compiled binary addons (http://nodejs.org/api/addons.html)
5967
build/Release
6068

61-
# Dependency directory
62-
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
69+
# Dependency directories
6370
node_modules
71+
jspm_packages
6472

6573
# Optional npm cache directory
6674
.npm
6775

76+
# Optional eslint cache
77+
.eslintcache
78+
6879
# Optional REPL history
6980
.node_repl_history
7081

82+
# Output of 'npm pack'
83+
*.tgz
84+
85+
# Yarn Integrity file
86+
.yarn-integrity
87+
88+
7189

72-
### Bower ###
73-
bower_components
74-
.bower-cache
75-
.bower-registry
76-
.bower-tmp
90+
### Vagrant ###
91+
.vagrant/

Vagrantfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
Vagrant.configure("2") do |config|
5+
config.vm.box = "ubuntu/xenial64"
6+
7+
config.vm.provider :virtualbox do |vb|
8+
vb.customize ["modifyvm", :id, "--memory", "4096"]
9+
end
10+
11+
config.vm.provision "shell", inline: <<-SHELL
12+
apt-get update -qq
13+
apt-get install -qq npm nodejs-legacy unzip gcc libevent-dev libssl-dev --no-install-recommends
14+
SHELL
15+
end

0 commit comments

Comments
 (0)