Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.78 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.78 KB

LASTIG gatsby website

🚀 Quick start

  1. Get the site locally.

Use git to download the code to build the site.

```shell
git clone git@github.com:umrlastig/lastig-gatsby.git
```
  1. Start developing.

    Navigate into your new site’s directory and start it up.

    cd lastig-gatsby/
    npm run develop
  2. 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!

  3. 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
  4. Learn more

🚀 Quick start (deploy)

Deploy this site to github pages:

```shell
cd lastig-gatsby/
npm run deploy
```