The website for jondarrer.com. Deployed using a Github Action for deployment and hosted by Firebase.
git clone [email protected]:jondarrer/my-personal-site
cd my-personal-site
yarn
NODE_OPTIONS=--openssl-legacy-provider yarn start
You can also try out how it will work when deployed to Firebase with:
NODE_OPTIONS=--openssl-legacy-provider yarn start:fb
Which will run the following commands:
NODE_OPTIONS=--openssl-legacy-provider yarn build
firebase serve --only hosting
NODE_OPTIONS=--openssl-legacy-provider yarn test
NODE_OPTIONS=--openssl-legacy-provider yarn build
NB. You must have the website running locally on port 9000 before pushing, so the Cypress integration tests can run properly.
git push
Run the following on the command line and answer the question prompts:
npm run plop
- title (the post title, e.g. A new way to cook soup)
- description (a brief summary of the post, e.g Think you know how to cook soup? Well, I'm going to tell you a new way that you'll love)
- author (name of the author, e.g. Jonathan Darrer)
- date-posted (format YYYY-MM-DD, e.g. 2020-08-18)
- tags (comma separated list of tags, e.g. food,soup)
- picture (a url to the image, e.g. for a local image /images/IMG_1126.jpg)
- language (e.g. en or ro)