This project is opensourse and built with next, react and typescript
node version: 20.7.1
yarn run dev
- create new repository
-
duplicate the whole project on the local machine rename necessary items, remove + add specific content
-
connect to github https://nextjs.org/learn/basics/deploying-nextjs-app/github push the changes to the repo set a new origin
git remote -v
git remote set-url origin https://github.com/anetacamo/tromso-nabo.git
git push -u origin main
git pull origin main --allow-unrelated-histories
- add vercel for deployment
- create the google sheets and set up for the data structure
- link google sheets to the db
- set up the mapbox
- set up the form https://github.com/jamiewilson/form-to-google-sheets
- change DNS to point to the new site
- website: set up descriptions & content in the sections (this is done by markdown files and raw json data in github)
- fill in the google doc sheets
the google sheets has two sections:
- one sheet with the content already added. That content is directly rendered to the website.
- One sheet with the submits. This is the submits from the form on the website. This content is not directly rendered, so it can be reviewed and confirmed by moving it to the first sheet.