Coder Social home page Coder Social logo

docker-hoodie's Introduction

Hoodie Dockerfile

Warning: not recommended for production use

This docker file bundles together Node.js, CouchDB and Hoodie to make it easy to try out Hoodie without having to install dependencies manually. For production use and increased flexibility, you'll probably want to put together a docker file which uses an external CouchDB and data-only containers.

Build

Install docker from docker.io, then:

cd docker-hoodie
docker build -t hoodiehq/hoodie .

Then, create a data directory to store your couchdb data etc.

mkdir ./data
chmod 777 ./data

Run

docker run -p 6001:6001 -p 6002:6002 \
    -v `pwd`/data:/home/hoodie/project/data hoodiehq/hoodie

You may want to replace pwd with the full path to the data directory you created if it's not in the current directory.

You should now have a TODO app example running at http://127.0.0.1:6001 and the Hoodie admin interface available at http://127.0.0.1:6002

The admin password is "changeme". Since there isn't an option to do that in the Hoodie admin interface atm, you should go to http://127.0.0.1:6002/_api/_utils and click the 'Change password' link in the bottom right corner.

docker-hoodie's People

Stargazers

Marcus Weiner avatar Ali Baitam avatar Christian Justus avatar Steve Farthing avatar Ibrahim Muhammad avatar Geoff Cox avatar Doug Campos avatar Jan-Erik Rediger avatar Dominik Bay avatar Stephan Bönnemann-Walenta avatar

Watchers

James Cloos avatar  avatar  avatar

docker-hoodie's Issues

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.