Code Monkey home page Code Monkey logo

demo-meteorjs's Introduction

demo-meteorjs

Demo of deploying a Meteor.js application to Clever-Cloud

Preparations before pushing your code to Clever-Cloud

If you already have a Meteor.js application, all you have to do is:

  1. Add the install.sh file from this repo to your project and make it executable chmod a+x install.sh
  2. Add the package.json file from this repo to your project and customize it for your needs but be sure to leave the scripts section untouched: "scripts": { "install": "./install.sh", "start": "node my_app/main.js" }

Deploying to Clever-Cloud

If you don't already have an app, feel free to fork this one to test !

  1. Signup on Clever-Cloud with Github
  2. Create a Node.js application
  3. Create a MongoDB addon and check its credentials: Hostname, Database, User and Password
  4. Go to "Environment Variables" and add the MONGO_URL for your MongoDB addon: mongodb://<user>:<password>@<host>/<database>
  5. Add the remote Clever-Cloud repo to your project => git remote add clever git+ssh://[email protected]/<your-app-id>.git
  6. Push your code to Clever-Cloud => git push clever master
  7. Watch the logs and wait for your app to start
  8. Visit your application by clicking on the "Arrow" top-right button
  9. Have fun :)

demo-meteorjs's People

Contributors

blackyoup avatar boustanihani avatar

Watchers

 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.