Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomfreudenberg/gatsby-build-demo-splitted

This is a sample for a discussion to gatsby team at https://github.com/gatsbyjs/gatsby/issues/12412
https://github.com/tomfreudenberg/gatsby-build-demo-splitted

Last synced: about 2 months ago
JSON representation

This is a sample for a discussion to gatsby team at https://github.com/gatsbyjs/gatsby/issues/12412

Awesome Lists containing this project

README

        

# Steps how the demo was created

``` bash
mkdir gatsby-build-demo-splitted
cd gatsby-build-demo-splitted

npx gatsby new pdf_docs https://github.com/gatsbyjs/gatsby-starter-hello-world
npx gatsby new pdf_app https://github.com/gatsbyjs/gatsby-starter-hello-world
```

# Steps how to reproduce the demo from repository

``` bash
git clone https://github.com/TomFreudenberg/gatsby-build-demo-splitted
cd gatsby-build-demo-splitted
```

### first create the pdf_document(s)

``` bash
cd pdf_docs
npm install
npm run build
npm run build_pdfs
```

### second create the client app

``` bash
cd ../pdf_app
npm install
npm run build
npm run serve
```

Now it is possible to get the sample and the PDF from http://localhost:9000/

# Question

## How to meld all in one project and one build process?