Skip to content

Codeurs En Seine website sources. CES is a french conferences and meetups organizer.

License

Notifications You must be signed in to change notification settings

CodeursEnSeine/codeursenseine.com

Repository files navigation

Codeurs en Seine Website

🚀 Quick start

  1. Install dependencies

    Navigate into your new site’s directory and start it up (require Node.js and npm)

    npm install
  2. Copy .env.example file

    Copy the file and update the environment variables that need to be updated

    cp .env.example .env
  3. Start developing.

    npm run dev
  4. Open the source code and start editing!

    Your site is now running at http://localhost:3000!

Create a new year

Archive past year

Redirection

Add year-1 redirection in public-archive/netlify.toml.

Build Archive

Run the following commands with the correct year:

NEXT_PUBLIC_ARCHIVE_YEAR=2024 npm run build:archive
npm run start:archive # Serve the archive, and go to the archive-2024 folder

Tag

Tag the latest commit.

git tag -a archive-XXXX -m "Archive XXXX"

Initialize the new year website

Clean the content

Change the currentYear in src/constants/site.ts. Change the src/app/2024 (year) folder name to the new year and edit the content of the pages.

Create Netlify redirect

Create past year redirection in ./netlify.toml.

Add the past year in the Nav

Add the past year in the src/constants/site.ts file.