Skip to content

Instantly share code, notes, and snippets.

@acouch
Created December 17, 2014 23:23
Show Gist options
  • Save acouch/93dee6b51b2da4178aaf to your computer and use it in GitHub Desktop.
Save acouch/93dee6b51b2da4178aaf to your computer and use it in GitHub Desktop.
ckan puppet vagrant extra
curl -L https://npmjs.org/install.sh | sh
sudo apt-get install curl
curl -L https://npmjs.org/install.sh | sh
sudo curl -L https://npmjs.org/install.sh | sh
ls
cd npm/
ls
scripts/install.sh
sudo scripts/install.sh
npm install less nodewatch
sudo npm install less nodewatch
cd /usr/lib/ckan/default/src/ckan/
./bin/less
sudo npm install nodewatch
sudo ./bin/less
sudo bin/less
sudo npm install nodewatch
./bin/less
sudo ./bin/less
./bin/less
chmod 777 /usr/lib/ckan/default/src/ckan/bin/../ckan/public/base/css/main.debug.css
chmod 777 /usr/lib/ckan/default/src/ckan/bin/
l
chmod ckan/public/base/
chmod 777 ckan/public/base/
sudo chmod 777 ckan/public/base/
sudo chmod 777 ckan/* -R
./bin/less
which node
which npm
ls -l
sudo npm install nodewatch
ls ../../../../node_modules/nodewatch
./bin/less
cd /usr/lib/
cd -
ln -s /usr/lib/ ../../../../node_modules/nodewatch
ls -l ../../../../
cd ../../../../
cd -
ls /usr/lib/node_modules/nodewatch/
. bin/less
./bin/less
vim bin/less
cd bin/
less
.les
.less
./bin/less
ls
less
./less
vim less
cd ..
sudo ./bin/less
node bin/less
ls /usr/lib/node_modules/.bin/lessc
ls /usr/lib/node_modules/
sudo npm install less
./bin/less
. /usr/lib/ckan/default/bin/activate
sudo paster serve /etc/ckan/default/development.ini
exit
ifconfig
cd /etc/apache2/conf.d/
ls
history
:q
sudo paster serve /etc/ckan/default/development.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment