chingu-voyages / v44-tier2-team-26

Add-project-description-here | Voyage-44 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs
https://boolebot.vercel.app/
1 stars 2 forks source link

Deploy Nextjs to Vercel Reference #41

Open egoullaud opened 1 year ago

egoullaud commented 1 year ago

Objective This document will walk you through the steps to deploy your Next App to Vercel, including a video of the process and resource links.

Steps to Follow

  1. Create your next app with create-next-app locally.
  2. Push your code to a GitHub repository. (You may have to clone a public repo like Chingu to your own repo.)
  3. Create an account on Vercel and link to your Github
  4. From your dashboard, click "Add New..." and select "Project" from the drop-down.
  5. Select which repository to import
  6. Vercel will then issue a build command and bam! Your project is live!

Resources and Links

See the video below for a walkthrough no audio

https://user-images.githubusercontent.com/108373927/236052732-3e6bfff1-337d-4edc-898f-ff8a10352449.mp4

Creating NextJS Projects

npx create-next-app@latest

What is your project name? > boolean-bot-game
TypeScript  > No
ESLint  > No
Tailwind CSS > yes
src > No
experimental > no
import alias > @

...installing dependencies

cd boolean-bots-game

Running NextJS Projects - enables live reloading

npm run dev

Components folder will have to be added at the same level as the Pages folder (not within)

Helpful Additions:

  1. Tailwind CSS IntelliSense VSCode extension
  2. react-icons
  3. parasite Chrome extension