-
Setup your local environment.
Clone the repository and install the dependfencies
git clone git@github.com:xlozinguez/xl-blog.git cd xl-blog/ npm i -
Start developing.
Navigate into your new site’s directory and start it up.
cd xl-blog/ gatsby develop -
Commit your changes.
Checkout a new branch.
cd xl-blog/ git checkout -b <NEW_BRANCH>
Work....
Commit your changes and publish to your branch.
cd xl-blog/ git commit -m "cool commit message that explains your changes" git push origin <NEW_BRANCH>
Open a PR to merge your
NEW_BRANCHto themasterbranch. Then get that PR reviewed and merged by an admin. -
Publish the site.
Checkout the master branch and run the publishing script.
cd xl-blog/ git checkout master npm run deployNavigate to the site's url and confirm your changes are live!
Celebrate!
xlozinguez/xl-blog
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|