-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phuonglm@:~/Projects/iorad/iorad-dev$ git log --oneline
- Loading branch information
Showing
8 changed files
with
471 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"vm":{ | ||
"synced_folders":[{ //see: http://docs.vagrantup.com/v2/synced-folders/index.html | ||
"_id": "0", | ||
"_op": "d" | ||
}, { | ||
"_id": "1", | ||
"_op": "d" | ||
} | ||
] | ||
}, | ||
"config_paths": [ | ||
"workspace/dev-setup/vagrant_config.default.json", | ||
"workspace/angular-hello-world/vagrant_config.default.json", | ||
"workspace/nextjs-hello-world/vagrant_config.default.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"vm": { | ||
"hostname": "acme.dev", | ||
"networks": [{ | ||
"_id": "0", | ||
"bridge": [ | ||
// If it asks for your network interface, add it the right network interface here | ||
// to choose it by default, you don't have to choose again when $ vagrant reload | ||
// note that if you choose the inactive network interface, problems could happen | ||
// then uncomment the line below and $ vagrant reload to select the right one | ||
//"en0: Wi-Fi (AirPort)" | ||
] | ||
}] | ||
}, | ||
"vb": { | ||
"memory": 2048, // need to adjust for the right optimal MEM | ||
"cpus": 2 | ||
}, | ||
"provisioners": [{ | ||
"_id": "0", | ||
"_ua_cookbooks_path": [ | ||
"vendor-cookbooks", | ||
"main-cookbooks", | ||
"workspace/dev-setup/chef/main-cookbooks" | ||
], | ||
"_ua_run_list": [ | ||
"vim", | ||
"teracy-dev", | ||
"acme" | ||
], | ||
"json": { | ||
"teracy-dev": { | ||
"aliases": [ { | ||
"name": "http", // `$ http` to make http requests, how to use: https://github.com/teracyhq/httpie-jwt-auth | ||
"command": "docker container run -it --rm --net=host teracy/httpie-jwt-auth:latest-alpine", | ||
"action": "add" | ||
}], | ||
"proxy": { | ||
"container": { | ||
"enabled": true | ||
} | ||
} | ||
} | ||
} | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"vm": { | ||
"hostname": "acme.dev", | ||
"synced_folders":[{ | ||
"_id": "100", | ||
"type": "rsync", | ||
"host": "./workspace/angular-hello-world", | ||
"guest": "/home/vagrant/workspace/angular-hello-world", | ||
"rsync__exclude": [".git", ".idea/", "node_modules/", "bower_components/", ".npm/"] | ||
}, { | ||
"_id": "100", | ||
"type": "virtual_box", | ||
"host": "workspace/angular-hello-world/node_modules", | ||
"guest": "/home/vagrant/workspace/angular-hello-world/node_modules", | ||
"mount_options": [ | ||
"dmode=775", | ||
"fmode=755" | ||
] | ||
}, { | ||
// enable this to sync /dist back and forth to the host automatically | ||
"_id": "101", | ||
"type": "virtual_box", | ||
"host": "workspace/angular-hello-world/dist", | ||
"guest": "/home/vagrant/workspace/angular-hello-world/dist", | ||
"mount_options": [ | ||
"dmode=775", | ||
"fmode=755" | ||
] | ||
}] | ||
}, | ||
|
||
"provisioners": [{ | ||
"_id": "0", | ||
"_ua_cookbooks_path": [ | ||
"workspace/angular-hello-world/chef/main-cookbooks" | ||
], | ||
"_ua_run_list": [ | ||
"angular-hello-world" | ||
], | ||
"json": { | ||
"teracy-dev": { | ||
"aliases": [ { | ||
"_id": "100", | ||
"name": "ahw", // `$ ahw` to cd right into the angular-hello-world project | ||
"command": "cd ~/workspace/angular-hello-world", | ||
"action": "add" | ||
}] | ||
}, | ||
"acme": { | ||
"angular-hello-world": { | ||
"project_guest_path": "/home/vagrant/workspace/angular-hello-world" | ||
} | ||
} | ||
} | ||
}], | ||
"plugins": [{ | ||
"_id": "2", | ||
"options": { | ||
"_ua_aliases": [ | ||
"dev.ahw.acme.dev", "review.ahw.acme.dev", "ahw.acme.dev" | ||
] | ||
} | ||
}] | ||
} |
Oops, something went wrong.