Well, "DevStuff" makes these pages sound "grand" (no sarcasm). But they are "grand" (with sarcasm). :-)
Reminders for git
I forget okay?!?!?
1. Tell Git your name so your commits will be properly labeled. Type everything after the
git config --global user.name "YOUR NAME"
2. Tell Git the email address that will be associated with your Git commits. The email you specify should be the same one found in your email settings. To keep your email address hidden, see "Keeping your email address private".
git config --global user.email "YOUR EMAIL ADDRESS"
3. Tell Git to ignore all files modified locally & reset to last fully committed version. This could be useful for getting a local branch to state where one can pull everything from a remote repository. If there are files that are needed to be re-added, they are identified when doing the pull that failed.
git reset --hard
4. Setup & pull from upstream. First commands adds repository for upstream source code. Second command grabs all the changes.
git remote add upstream [url to upstream repository]
git fetch upstream
Node.js / NPM / Exploring Universal Apps
Post-thoughts in a pre-way: Restructure to share common files & create build file to put appropriate files in location for packaging.
Starting with Electron
- Start an empty repository however you want. For ease I start an empty project on Github, clone locally and then start adding stuff to it.
- I created a folder called "electron_app" and copied to it the index.html, main.js, package.json and renderer.js files from their Quick Start sample. Be careful about licensing.
- From their Quick Start tutorial, go to that directory and
npm installto get all the required modules.
- Again from their Quick Start tutorial, in that directory,
npm startto launch the app.
- I added a bunch of CSS and stuff from websites I've worked on to make a fake app. Only big note is "./" sorta "clears" the page; i.e. no index.html is displayed.
- To build manually, I created a build directory and started to go through their Application Distribution page.
More to come...