Skip to content

Instantly share code, notes, and snippets.

View davidsalazar's full-sized avatar

David Salazar davidsalazar

  • 18:15 (UTC -05:00)
View GitHub Profile
echo -n "Deleting ... "
curl -XDELETE http://localhost:9200/test_date
echo ""
echo -n "Create index ... "
curl -XPUT http://localhost:9200/test_date
echo ""
echo -n "Put mapping ... "
curl -XPUT http://localhost:9200/test_date/test/_mapping -d '
{
"test":{
@davidsalazar
davidsalazar / new_kohana_app.sh
Created September 30, 2011 13:56
Basic installation script for Kohana 3.2
git init
git submodule add git://github.com/kohana/core.git system
git submodule add git://github.com/kohana/database.git modules/database
git submodule add git://github.com/kohana/userguide.git modules/userguide
git submodule add git://github.com/kohana/image.git modules/image
git submodule add git://github.com/kohana/codebench.git modules/codebench
git submodule add git://github.com/kohana/auth.git modules/auth
git submodule add git://github.com/kohana/pagination.git modules/pagination
git submodule add git://github.com/kohana/orm.git modules/orm