Skip to content

umrlastig/lastig-gatsby

Repository files navigation

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. Install dependencies.

Use npm:

```shell
npm install
```

or yarn for instance.

```shell
yarn install
```
  1. Prepare the data. Run.

    ```shell
    node prepareData.js
    ```
    
  2. Start developing.

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

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

  1. 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.).

```shell
cd lastig-gatsby/
node prepareData.js
```
  1. Learn more

🚀 Quick start (deploy)

Deploy this site to github pages:

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

Before pushing modifications

Please run prettier:

```shell
npx prettier . --write
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published