- TypeScript 56.2%
- SCSS 39.4%
- JavaScript 4.4%
| content | ||
| src | ||
| static | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| gatsby-browser.js | ||
| gatsby-config.js | ||
| gatsby-node.js | ||
| gatsby-ssr.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
SJDco 2020 (Static, Gatsby/Netlify)
Port to Gatsby and Netlify/NetlifyCMS of my 2020 online portfolio.
🏃 Running
To simply get the dev site up and running, do the following:
-
Install node modules:
npm install -
Run the dev server:
npm run start
🌏 NetlifyCMS locally
You can optionally run the NetlifyCMS (CMS used to edit content for this site) locally on your computer. This allows you to make bulk changes and experiment without cluttering your git history with a commit for every change.
To run NetlifyCMS locally:
-
Start the NetlifyCMS proxy server on your local machine
npx netlify-cms-proxy-server -
Change
static/admin/config.ymlto have the following value:local_backend: true -
Finally, start the dev server as normal:
npm run start -
You will now be able to access NetlifyCMS by navigating your local server to
/admin
🚀 Deploying
Deployments are completely handled by netlify - to push to production server, simply commit into the master branch.