As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| resource "digitalocean_droplet" "web" { | |
| image = "ubuntu-16-04-x64" | |
| name = "web-1" | |
| region = "sgp1" | |
| size = "512mb" | |
| ssh_keys = [12345] | |
| connection { | |
| type = "ssh" | |
| user = "root" |
| { | |
| "bitwise": true, | |
| "camelcase": true, | |
| "curly": true, | |
| "eqeqeq": true, | |
| "es3": false, | |
| "forin": true, | |
| "freeze": true, | |
| "immed": true, | |
| "indent": 2, |
| # 1.install gource using HomeBrew | |
| $ brew install gource | |
| # 2.install avconv | |
| git clone git://git.libav.org/libav.git | |
| cd libav | |
| # it will take 3-5 minutes to complie, be patient. | |
| ./configure --disable-yasm | |
| make && make install |