Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'npm run build' and 'npm run start' to build and run. #7

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

madrang
Copy link

@madrang madrang commented Jan 25, 2017

Used npm to define a build and start option that can be run using

    npm run build
    npm run start

Updated grunt to copy needed dependencies.

… net::ERR_FILE_NOT_FOUND

by adding jquery as a submodule, uses development version to simplify debugging.
…tart" to start a webserver and test the example.
Changed from "git://" to "https://" as recommanded on GitHub.

Fixespage build failed with the following error:

The submodule registered for `./dependencies/jquery` could not be cloned. Make sure it's using https:// and that it's a public repo. For more information, see https://help.github.com/articles/page-build-failed-invalid-submodule.

For information on troubleshooting Jekyll see:

  https://help.github.com/articles/troubleshooting-jekyll-builds
@mrchimp
Copy link
Owner

mrchimp commented Jan 29, 2017

Why include jquery and typer as submodules instead of npm dependencies?

@madrang
Copy link
Author

madrang commented Feb 2, 2017

Easier to contribute to those project if someone want to and you can just drop the needed files in the right folder and it's still going to work. (Git by default is not recursive when cloning, the --recursive flag needs to be used so that it will fetch submodules)

Also i wasn't sure about how to copy those dependencies using npm, where they would go and if i could get the uncompressed/unminimised version of jquery as it makes it harder to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants