https://github.com/CleverCloud/demo-meteorjs
Run Meteor with MongoDB on Clever Cloud
https://github.com/CleverCloud/demo-meteorjs
clevercloud-example javascript meteor mongodb
Last synced: 12 days ago
JSON representation
Run Meteor with MongoDB on Clever Cloud
- Host: GitHub
- URL: https://github.com/CleverCloud/demo-meteorjs
- Owner: CleverCloud
- Created: 2014-12-24T15:03:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T13:54:44.000Z (over 7 years ago)
- Last Synced: 2025-04-13T12:03:12.155Z (25 days ago)
- Topics: clevercloud-example, javascript, meteor, mongodb
- Language: HTML
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 18
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-clever-cloud - demo-meteorjs
README
# MeteorJS as Clever Cloud application
## Deploying to Clever-Cloud
If you don't already have an app, feel free to fork this one to test !
* [Signup](https://api.clever-cloud.com/v2/github/signup) on Clever-Cloud with Github
* Register an [SSH key](https://github.com/CleverCloud/demo-meteorjs)
* Create a MetorJS application
* Create a MongoDB addon and copy the ``Connection URI`` in the ``Configuration`` panel
* Go to "Environment Variables", add a ``MONGO_URL`` key with the ``Connection URI`` you've just copied as a value (because of `MONGO_URL` environment variable name, you can't directly link your add-on).
* Add the variable ``ROOT_URL`` with a valid HTTP url (e.g.``http://.cleverapps.io`` or the url your application will use)
* Be sure the PORT environment variable exists and is equal to 8080
* Add the remote Clever-Cloud repo to your project => ``git remote add clever git+ssh://[email protected]/.git``
* Push your code to Clever-Cloud => ``git push clever master``
* Watch the logs and wait for your app to start
* Visit your application by clicking on the "Arrow" top-right button
* Have fun :*