- Get the site locally.
Use git to download the code to build the site.
```shell
git clone git@github.com:umrlastig/lastig-gatsby.git
```
-
Start developing.
Navigate into your new site’s directory and start it up.
cd lastig-gatsby/ npm run develop
-
Open the code and start customizing!
Your site is now running at http://localhost:8000!
Edit pages to see your site update in real-time!
-
Update the data
If you need to update the (csv) data for the website, run the script. It might take a while since it makes quite a few REST API requests... Be careful of the use_proxy variable. Furthermore, do not hesitate to run only the process you actually need (publications, etc.).
cd lastig-gatsby/ node prepareData.js
-
Learn more
Deploy this site to github pages:
```shell
cd lastig-gatsby/
npm run deploy
```