For detail look here
sudo apt-get install nginx
then get IP address and try it on browser
For detail look here
sudo apt-get install nginx
then get IP address and try it on browser
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin <branch-name> |
'use strict'; | |
var | |
chalk = require('chalk'), | |
gulp = require('gulp'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
deporder = require('gulp-deporder'), | |
gulpif = require('gulp-if'), |
From Meteor's documentation:
In Meteor, your server code runs in a single thread per request, not in the asynchronous callback style typical of Node. We find the linear execution model a better fit for the typical server code in a Meteor application.
This guide serves as a mini-tour of tools, trix and patterns that can be used to run async code in Meteor.
Sometimes we need to run async code in Meteor.methods
. For this we create a Future
to block until the async code has finished. This pattern can be seen all over Meteor's own codebase: