π¦ Installation Guide
This boilerplate provides multiple installation methods depending on your preferred workflow.
π Using NPM (Recommended)β
The easiest way to create a new project using this boilerplate is via NPM:
npm create codewithpablo my-new-project
πΉ What this does:
- Creates a new project folder named
my-new-project
. - Downloads the latest version of the boilerplate.
- Sets up the required dependencies automatically.
Once the installation is complete, navigate to your new project directory:
cd my-new-project
Then, install dependencies and start the development server:
npm install
npm run dev
πΉ Using NPX (Alternative Method)β
If you donβt want to globally install the create-codewithpablo
package, you can use NPX:
npx create-codewithpablo my-new-project
πΉ What this does:
- Runs the latest version of
create-codewithpablo
without installing it globally. - Sets up the project exactly like the NPM method.
Then, proceed with:
cd my-new-project
npm install
npm run dev
πΉ Cloning the Repository (For Full Customization)β
If you want full control over the boilerplate and modify it before using it, you can clone the repository manually:
git clone https://github.com/PabloFuentesSanz/codewithpablo-boilerplate.git
cd codewithpablo-boilerplate
npm install
πΉ Why use this method?
- Ideal if you plan to modify the boilerplate itself.
- Gives you direct access to the source code.
To start the development server after cloning:
npm run dev
β Next Stepsβ
After installation, check out these commands:
- Run the development server:
npm run dev
- Run ESLint checks:
npm run lint
- Format code with Prettier:
npm run format
- Run tests:
npm run test
Now you're ready to start coding with CodeWithPablo Boilerplate! π