Giter Club home page Giter Club logo

project_3_lightning_talk's Introduction

This walthrough will guide you through creating a basic app with meteor and then using a task runner (Gulp) to build a basic rails app.

#Install meteor curl https://install.meteor.com/ | sh

#Create App with Meteor meteor create [app Name]

cd [app Name]

#Install gulp npm install gulp

#Install gulp-shell npm install --save-dev gulp-shell

save for dev mode package:gulp-shell

#Make a gulpfile touch gulpfile.js

#Require The Proper Packages and Build a CLI Task

echo " var gulp = require('gulp'); " > gulpfile.js

echo " var shell = require('gulp-shell') " >> gulpfile.js

echo >> gulpfile.js

echo "gulp.task('this-task', shell.task([ " >> gulpfile.js

echo "/* place CLI commands here for what you want to happen in response to 'gulp this-task' */" >> gulpfile.js

echo "/* separate lines of command with a ',' */"

echo " 'echo hello', " >> gulpfile.js

echo " 'echo world' " >> gulpfile.js

echo "]);" >> gulpfile.js

echo "text being written into file" > gulpfile.js

echo "text being appended to file" >> gulpfile.js

echo "gulp.task('meanRails', shell.task([ " >> gulpfile.js

echo "'rvm use 2.3.0'," >> gulpfile.js

echo "'gem install rails'," >> gulpfile.js

echo "'rails new [appName]'" >> gulpfile.js

echo "]))" >> gulpfile.js

CD into your new app and run server

cd [appName]

rails s

Go to your localhost in your browser, you've now built an app with a task

project_3_lightning_talk's People

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.