0.3.0 • Published 10 years ago

nodesource-mirror-bash-wget v0.3.0

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

nodesource-mirror

A collection of scripts to help create and maintain mirrors of https://deb.nodesource.com/ on plain dumb webspace.

For motivation, pros and cons, see nodesource issue #71.

Quick user's guide

  • Install:
cd /var/www/my-node-mirror/htdocs
wget https://github.com/mk-pmb/nodesource-mirror-bash-wget/raw/master/upd_all.sh
chmod a+x upd_all.sh
  • (optional) Configure your mirror:
echo Options +Indexes >>.htaccess
wget -O exclude.local.txt https://github.com/mk-pmb/nodesource-mirror-bash-wget/raw/master/doc/exclude.example.txt
head exclude.*
  • (optional) Preview what node versions will be downloaded:
./upd_all.sh _p             # see hints below
  • Run:
./upd_all.sh &

Hints on download preview

  • The preview may take a while to download the list of available products.
  • Versions with an exclamation mark (!) in front of them are excluded by your config.
  • If any version line has a ! somewhere expect at start of line, something is very broken.
  • Versions without ! will be downlaoded.
  • Option _p is like -p === --list-products except it uses _ as the version separator, as will be expected for exclude config.

License

ISC

0.3.0

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago