From 88976fdedbce324f63caf47258ec249b3d808d34 Mon Sep 17 00:00:00 2001 From: asmita005 Date: Tue, 4 Oct 2016 16:45:51 +0530 Subject: [PATCH] committed --- README.md | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72f3f3764..318065f83 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Telescope Nova -made changes. - > It's the [Hacktoberfest](https://hacktoberfest.digitalocean.com/), support & celebrate open-source! [Browse our issues](https://github.com/TelescopeJS/Telescope/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest) and come contribute! There are currently two distinct versions of Telescope: **Nova** and **Legacy**. @@ -117,6 +115,44 @@ The best ways to get support are [Telescope Meta](http://meta.telescopeapp.org) The recommended way to deploy Nova is by using [Mup](https://github.com/kadirahq/meteor-up/), at least v1.0.3. +Installing the latest version of NodeJS and npm. Skip if already installed. + + sudo apt-get install nodejs + sudo apt-get install npm + +Installing the latest kadirahq/meteor-up + + npm install -g mup + +Creating Meteor Up configuration files in project directory + + cd my-app-folder + mkdir .deploy + cd .deploy + mup init + +This creates two files + + mup.js - Meteor Up configuration file + settings.json - Settings for Meteor's settings API + +Replace the content of the newly created settings.json with the content of sample_settings.json. + +Modify mup.js on the ROOT_URL field (absolute url of your deploy) and add a docker field with abernix/meteord:base docker image. + + env: { + ROOT_URL: 'http://nova-app.com', + MONGO_URL: 'mongodb://localhost/meteor' + }, + + docker: { + image:'abernix/meteord:base' // docker image working with meteor 1.4 & node 4 + } + +We recommend to take inspiration (or copy/paste) on this [gist](https://gist.github.com/xavcz/6ddc2bb6f67fe0936c8328ab3314641d). + + + ## Settings Settings can be configured in your `settings.json` file. For legacy compatibility reasons, settings can also be specified in your database, but note that settings specified in `settings.json` take priority over those stored in the database.