Skip to content

4GeeksAcademy/website-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4Geeks Academy Website

Recomended Readings before understanding the website:

  • Gatsby.js
  • Styled Components

Open locally:

To run this project locally, follow these steps:

  1. Copy Environment File: Create a local environment file by copying the example file.
cp -n .env.example .env.development || true
  1. Install Node Version Manager (NVM): If you don't have NVM installed, follow the instructions here.

  2. Install Node.js Version 18: Use NVM to install Node.js version 18.

nvm install v18
  1. Set Default Node.js Version: Set Node.js version 18 as the default version.
nvm alias default v18
  1. Use Node.js Version 18: Switch to using Node.js version 18.
nvm use v18
  1. Install Dependencies: Install the project dependencies.
npm install --legacy-peer-deps
  1. Run the Project: Start the project.
npm run start

Tests

Test SEO best practice and YML format and rules:

$ node ./src/test/test.seo.yml
$ node ./src/test/test.yml.yml

Redirects

You can create bloposts redirects:

$ node ./src/utils/create_redirects.js

.