false |

DevSkills Documentation

Importing challenge boilerplate

Learn how to import challenge boilerplate

Each boilerplate includes a minimal project for the selected tech stack and the necessary setup for running the assignment tests remotely.

Prerequisites:

To import boilerplate (if you use a Windows machine, do the steps below from git bash):

  1. Go to your assignment repo's directory in your terminal.
  2. Export the desired boilerplate name from the list below. E.g., export boilerplate=backend-boilerplate-php-laravel
  3. Copy, paste, and run the following snippet:
cat <<EOF >>init.sh
#!/bin/sh
git clone https://github.com/DevSkillsHQ/$boilerplate.git
cp $boilerplate/package.json .
cp $boilerplate/cypress.json .
cp -r $boilerplate/app* .
rm -rf $boilerplate
npm i
git add cypress.json package* app*
git commit -m 'Init boilerplate'
EOF
chmod +x init.sh
./init.sh
rm init.sh

Available boilerplates 🏗

To request a boilerplate setup for a tech stack missing on the list below, create a GitHub issue on your assignment repository with the details.

Backend

Frontend

Fullstack

Did this article help?

Thank you for your feedback