After banging my head against all these new concepts, I finally have a working port of the DurandalJS Starter Kit working with Gulp, with a very clean directory structure that makes sense to me. The whole thing is now a new project called Engine 1401A1, which will be a continuation of the development of the previous engine Project 1401.
- Install Git and Node if you haven’t already, and then
npm install -g gulp-cli.
- Clone the repository! Open a terminal window and
git clone https://github.com/daveseah/Engine-1401A1.git
- Configure the tools! In the terminal window,
npm installonce to download all the project library dependencies.
- Build the project! Execute the
gulpcommand, which will load the
gulpfile.jsand build the web application.
- Run the project! Browse to the URL displayed in the terminal window!
I like really easy installation processes, and this one makes it very easy to start a new web app project. The next step is to port the existing Project 1401 files into Engine 1401A1. They should copy over without any problems because I’m still using the RequireJS syntax. After that, it’s major refactoring time to make the new system as expressive as possible.
Stuff Learned and GHDR Points Earned
This is a pretty major result. I committed working code to Github, and that’s worth at least 50 points in my soon-to-be-updated point list system. On top of that, I had to push through a lot of BS advice on the Internet to get some of this stuff to work.
|50||posted working code to GitHub|
|30||fulfills a current wish, makes future results more possible, packaged results and made it available!|
|5||Eliminated some options|
|3||Tried a bunch of stuff I didn’t know would work.|
|2||Posted words on this website!|
|1||Researched a lot of code-related stuff|
A record of 91 points! I also wore out another keyboard and have to replace it because the cursor keys are going crazy. Sigh.