Giter Club home page Giter Club logo

coconut-scripts's Introduction

A collection of scripts related to coconut development and deployment.

In order to install an instance of:

  • Coconut Factory (create new coconut applications: Separate forms & forms)
  • Coconut Mobile (offline mobile html5 client)

You will need to run the deploy.rb script.

In order to succeed at this, you will need the following:

  • ruby (to run the install script)
  • git (to get the source code)
  • node (to run gulp)
  • gulp (to package the app for deployment)
  • couchapp (the python version, installed with python-pip via "pip install couchapp")

You can then use the deploy.rb to install to a machine that has docker installed.

./deploy.rb [destination] [admin-username] [admin-password]

So to deploy this to localhost and setup couchdb with an admin user "admin" with password "password" you would do:

./deploy.rb localhost admin password

**Special Note for Mac OS X environment

Mac OS X uses boot2docker to run Docker containers. To install on a OS X machine, for access to the docker container within the boot2docker, you need to use the boot2docker ip address instead of "localhost" as an argument for the deploy.rb script. For example:

./deploy.rb 192.168.59.103 admin password

To find out the ip address, simply run the command within boot2docker:

boot2docker ip

coconut-scripts's People

Contributors

mikeymckay avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.