Giter Club home page Giter Club logo

virtualdog's Introduction

VirtualDog

An easy to grasp example for training on various web technologies

Use the feature/begin and feature/end branches to follow along with the Pluralsight course here

To get started go to your fork directory in a command prompt and do this:

npm install
npm start

Uses npm scripts to run locally installed packages without the need to run from command line, so everything is local to avoid versioning issues with a plethora of globally installed versions on student’s ‘puters. Since you want to use the local version of stuff (e.g. typescript, typings, etc), you don’t want to run command line directly (contrary to the course instructions) since that will either:

  • Fail if you don’t have the node module installed globally,
  • Or if you do have it installed globally, it will run the global version which may be different than the local version used in this project.

Instead do this (as needed):

npm run tsc 
npm run tsc -- -w
npm run typings -- install dt~silly-node-module --global --save

The pertinent part being npm run and if you want to add command line parameters follow the module name with the double dash (--) then add your command line parameters. Right now only bower, tsc, and typings have scripts in the package.json file that will allow this, so if there are other command-line-ish things you want to add to package.json, then add them to the list of scripts

Requires the following global installations:

  • npm

Also globally installed:

  • tslint (used by VSCode)

To bring up the Virtual Dog Blog in the browser simply navigate to localhost:8042

To bring up the Jasmine tests in the browser simply navigate to the test/SpecRunner.html file in your browser

No frills, super simple, just a dog and his blog.

virtualdog's People

Contributors

daltin avatar jeremymoritz avatar tonycurtislives 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.