yerevancoder
Basic usage
Steps to add a new post:
- git clone the project to your local machine (if doing for the first time, make sure to
yarn
install the dependencies). Make sure you are on the build branch. - Go to
src/pages
and add a new directory withmkdir
. Format of the directory should be<YEAR>-<MONTH>-<DAY>-<POST-NAME>
. - Inside that newly created directory, create an
index.md
file. This is a markdown file and you can use markdown - In the root of the project, run
yarn dev
, this starts up a local development server with hot reloading, so you can see the changes and posts you make in realtime onlocalhost:8000
- If you forked this repo, make a new Pull Request. If you are a project collaborator with commit access, then you can just do
yarn deploy
. - Share the post!
Advanced usage
This is a gatsby project so you can use any JavaScript you want. If you want to do styling changes, please open a PR rather than pushing to the repo so that we can review the styling and project structure changes.