Coder Social home page Coder Social logo

Comments (3)

vdice avatar vdice commented on June 30, 2024

blc is added from its node_modules path in the script here: https://github.com/fermyon/developer/blob/main/.build/check-broken-links.sh#L40-L41

timeout is included in the gnu coreutils pkg which I think is usually present in most Linux distros and on my MacOS machine I've installed via brew install coreutils. Windows I am not sure 😅. This could also be an opportunity to devise a different approach that would cut out this dependency in the script...

from developer.

tpmccallum avatar tpmccallum commented on June 30, 2024

Apologies if I am missing something - I normally run the following procedure when performing local preview/testing:

# Go into spin-up-hub section
cd spin-up-hub/
# NPM install
npm install
# Go back into just developer folder
cd ../
# NPM install
npm install
# Build the site for local preview
spin build
# Bartholomew's linting
bart check content/the-file-to-check.md
# Run the node linting and tests
npm run test (this does the check for broken links with Spin actually running in the background)
# Local preview the site at localhost:3000
spin up -e "PREVIEW_MODE=1"

from developer.

ThorstenHans avatar ThorstenHans commented on June 30, 2024

Installing coreutils on my mac did the trick. I'll add a note about that to the testing section of the contributing page in a dedicated PR

from developer.

Related Issues (20)

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.