mirror of
https://github.com/balkian/hookio-sparql-demo.git
synced 2024-11-24 04:02:31 +00:00
Deleted two files
This commit is contained in:
parent
ebafdba6b6
commit
d2298ecad2
49
install.sh
49
install.sh
@ -1,49 +0,0 @@
|
||||
#!/bin/bash
|
||||
# For Ubuntu: apt-get install libavahi-compat-libdnssd-dev
|
||||
function fetch(){
|
||||
echo "Fetching project from Github"
|
||||
git clone https://github.com/balkian/Web4.0.git Web4.0
|
||||
cd Web4.0
|
||||
}
|
||||
function install_npm(){
|
||||
echo "Installing NPM"
|
||||
curl http://npmjs.org/install.sh | sudo sh
|
||||
}
|
||||
function install_node(){
|
||||
echo "Instaling nodejs"
|
||||
sudo apt-get install nodejs-dev
|
||||
#sudo sudo npm install hook.io
|
||||
#sudo npm install hookio/hooks/*
|
||||
}
|
||||
function install_package(){
|
||||
echo "Installing npm package"
|
||||
sudo npm install $1
|
||||
}
|
||||
|
||||
while getopts ":agupi" opt;do
|
||||
case $opt in
|
||||
a)
|
||||
fetch;
|
||||
install_node;
|
||||
install_npm;
|
||||
install_package .;
|
||||
;;
|
||||
g)
|
||||
fetch;
|
||||
;;
|
||||
u)
|
||||
install_npm;
|
||||
;;
|
||||
p)
|
||||
install_package;
|
||||
;;
|
||||
i)
|
||||
install_npm;
|
||||
install_node;
|
||||
;;
|
||||
\?)
|
||||
echo "Probably you want to run $0 -a"
|
||||
|
||||
;;
|
||||
esac
|
||||
done
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "Web4.0",
|
||||
"version" : "0.0.1",
|
||||
"dependencies":{
|
||||
"socket.io":"*",
|
||||
"hook.io":"*",
|
||||
"Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user