Skip to content

Download onto server using CURL

nvkelso edited this page Jan 20, 2012 · 5 revisions

Download a ZIP, expand it, rename it, move it into position:

cd project_name/basemap/

curl -OL https://github.com/migurski/HighRoad/tarball/v1.0.0

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13.9M 100 13.9M 0 0 2117k 0 0:00:06 0:00:06 --:--:-- 3482k

tar -xzvf v1.0.0

ls

Prints out:

migurski-HighRoad-32fb74f v1.0.0

rm v1.0.0

mv migurski-HighRoad-32fb74f/* ./

rmdir migurski-HighRoad-32fb74f/

Confirm that everything is as expected by listing the directory:

ls

Clone this wiki locally