Git Product home page Git Product logo

couchdb-for-openshift's Introduction

couchdb for openshift

This git repository allows to have couchdb on Red Hat OpenShift.

The .openshift directory contains the necessary build action_hook to download couchdb source code and all it's dependencies and build from scratch.

Running on OpenShift

Create an account at http://openshift.redhat.com/

Create a Openshift DIY application (using any application name you want):

rhc create-app <app_name> diy

Add this upstream repository:

cd appname
git remote add couchdb-for-openshift -m master git://github.com/marianoguerra/couchdb-for-openshift.git
git pull -s recursive -X theirs couchdb-for-openshift master --allow-unrelated-histories

Then push the repo upstream:

git push

Now go play an come back around one hour later and you will have a running couchdb instance.

Note

after a build the last line should be

remote: Running .openshift/action_hooks/post_deploy

if it doesn't return to the shell you may have to do ctrl-c

The next step is to make it secure, go to

http://appname-$yournamespace.rhcloud.com/_utils

and click "Fix this" on the bottom right corner and setup an admin user.

After this if you don't want the data to be world readabable go to "Configuration" on the right panel and change "require_valid_user" to true.

try accessing futon with an unauthenticated session and it should ask you for credentials before showing you anything.

How does it work

it fetches and builds:

  • ICU (international components for unicode)
  • spidermonkey (JS engine)
  • erlang
  • couchdb

and then makes some configuration changes to couchdb.

author

marianoguerra

license

Don't know if it's needed but in case you need it, everything here is MIT.

couchdb-for-openshift's People

Contributors

fabianofranz avatar jorgegarciadev avatar marianoguerra avatar trajakovic avatar travispaul avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.