Code Monkey home page Code Monkey logo

enclose-io's Introduction

Enclose.IO

Enclose.IO is a cloud-based service that creates a single executable out of your node.js application for Windows, Linux and Mac OS X. It freezes your app code with the Node.js interpreter and all module dependencies, making your app ready to be used out-of-the-box.

http://enclose.io/

Build Status Code Climate codecov.io

Installation

Linux (x86_64)

Suppose that a x86_64 machine with CentOS release 5.8 was being used, then we could execute commands similar to the following to get started.

# Install Ruby
sudo yum install libyaml-devel readline-devel zlib-devel libffi-devel openssl-devel sqlite-devel
# -> Follow the instructions of https://rvm.io/

# Install Python
# -> Make sure that `python --version` gives 2.6.x or 2.7.x

# Install node and npm
# -> https://nodejs.org/

# Install gcc and g++ 4.8
curl -sL http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm -o /tmp/epel-release-5-4.noarch.rpm
sudo rpm -Uvh /tmp/epel-release-5-4.noarch.rpm
sudo curl -sL http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo -o /etc/yum.repos.d/slc5-devtoolset.repo
sudo rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern
sudo yum install devtoolset-2
scl enable devtoolset-2 bash
echo source /opt/rh/devtoolset-2/enable >> ~/.bash_profile

# Install Heroku Command Line
# -> https://toolbelt.heroku.com/
heroku login

# Run the worker
git clone [email protected]:enclose-io/enclose-io.git
cd enclose-io
git remote add heroku https://git.heroku.com/pure-brushlands-17482.git
bundle install
export ENCLOSE_IO_MAKE_ARGS=-j4
eval $(heroku config --shell) nohup bundle exec sidekiq --concurrency 1 --queue=linux64 2>&1 &

Mac OS X

# Install Ruby
# -> Follow the instructions of https://rvm.io/

# Install Python
# -> Make sure that `python --version` gives 2.6.x or 2.7.x

# Install node and npm
# -> https://nodejs.org/

# Install clang and clang++
# -> https://developer.apple.com/xcode/download/

# Install Heroku Command Line
# -> https://toolbelt.heroku.com/
heroku login

# Run the worker
git clone [email protected]:enclose-io/enclose-io.git
cd enclose-io
git remote add heroku https://git.heroku.com/pure-brushlands-17482.git
bundle install
export ENCLOSE_IO_MAKE_ARGS=-j4
eval $(heroku config --shell) nohup bundle exec sidekiq --concurrency 1 --queue=mac64 2>&1 &

Windows

# Install Ruby
# -> http://rubyinstaller.org/

# Install Python
# -> https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi

# Install node and npm
# -> https://nodejs.org/

# Install Visual Studio    
# -> http://download.microsoft.com/download/b/e/d/bedddfc4-55f4-4748-90a8-ffe38a40e89f/vs2015.3.com_enu.iso

# Install Heroku Command Line
# -> https://toolbelt.heroku.com/
heroku login

# Install 7-zip
# -> http://www.7-zip.org/a/7z1604-x64.msi
# Add C:\Program Files\7-Zip to PATH

# Run the worker
git clone https://github.com/enclose-io/enclose-io.git
cd enclose-io
git remote add heroku https://git.heroku.com/pure-brushlands-17482.git
bundle install
FOR /F "delims=" %i IN ('heroku config --shell') DO set %i
FOR /F "delims==" %i IN ('heroku config --shell') DO call set %i=%%i:'=%
set ENCLOSE_VCBUILD_ARGS=nosign
bundle exec sidekiq --concurrency 1 --queue=win64

License

Enclose.IO is available as open source under the terms of the MIT License.

enclose-io's People

Contributors

deppbot avatar gitter-badger avatar pmq20 avatar

Watchers

 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.