This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
h=localhost:9200 | |
g='curl -XGET ' | |
p='curl -XPOST ' | |
u='curl -XPUT ' | |
d='curl -XDELETE ' | |
# make the index | |
$u "$h/hello" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$> curl -L https://github.com/atmos/cinderella/raw/master/bootstrap.sh -o - | sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
102 1233 102 1233 0 0 267 0 0:00:04 0:00:04 --:--:-- 4151 | |
Ensuring we have the latest version of cinderella installed | |
A first time install takes about 45 minutes on a modern machine | |
You need to upgrade rubygems to 1.7.2 | |
Password: | |
Cinderella installed successfully | |
sh: line 25: /usr/bin/cinderella: No such file or directory |