Run dev server
Open new VScode window.
Open the nextjs folder at /Users/elliott/Local Sites/vmgd/app/public/nextjs
CMD + O (on mac)
CTRL + K + O (on windows)
Create a new file in the root directory called .env.local
Add the following environment variables:
SKIP_ENV_VALIDATION=true
FTP_API_KEY=<get from vercel>
You can get the environment variable from vercel here: https://vercel.com/what-works/vmgd/settings/environment-variables

In VSCode, press CTRL + ~ to open terminal
Run the following commands:
npm install
npm run dev
Visit localhost:3000 in the web browser
Terminal should look like this:

And browser should load the home page:

Congrats! You are ready to start developing.
Last updated