mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
parent
73d6ac8508
commit
774cb986b0
@ -9,16 +9,16 @@ There are three different series:
|
|||||||
|
|
||||||
- [React](https://learn.hasura.io/graphql/react)
|
- [React](https://learn.hasura.io/graphql/react)
|
||||||
- [Vue](https://learn.hasura.io/graphql/vue)
|
- [Vue](https://learn.hasura.io/graphql/vue)
|
||||||
- Angular (coming soon)
|
- [Angular](https://learn.hasura.io/graphql/angular-apollo)
|
||||||
- Elm (coming soon)
|
- [Elm](https://learn.hasura.io/graphql/elm-graphql)
|
||||||
- ReasonML (coming soon)
|
- [ReasonML](https://learn.hasura.io/graphql/reason-react-apollo)
|
||||||
|
|
||||||
#### Mobile
|
#### Mobile
|
||||||
|
|
||||||
- [React Native](https://learn.hasura.io/graphql/react-native)
|
- [React Native](https://learn.hasura.io/graphql/react-native)
|
||||||
- [iOS](https://learn.hasura.io/graphql/ios)
|
- [iOS](https://learn.hasura.io/graphql/ios)
|
||||||
- [Android](https://learn.hasura.io/graphql/android)
|
- [Android](https://learn.hasura.io/graphql/android)
|
||||||
- Flutter (coming soon)
|
- [Flutter](https://learn.hasura.io/graphql/flutter-graphql)
|
||||||
|
|
||||||
#### Backend
|
#### Backend
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -15,7 +15,7 @@ class TopBanner extends React.Component {
|
|||||||
<div className={'whiteLineSeperator'}>
|
<div className={'whiteLineSeperator'}>
|
||||||
</div>
|
</div>
|
||||||
<div className={'sectionDescription'}>
|
<div className={'sectionDescription'}>
|
||||||
With these <a href="https://github.com/hasura/graphql-engine/tree/master/community/learn">open-source</a> community maintained tutorials, you will move from the basics of GraphQL to building a real-time application in 2 hours
|
With these <a href="https://github.com/hasura/graphql-engine/tree/master/community/learn">open-source</a> community maintained tutorials, you will move from the basics of GraphQL to building a real-time application in 2 hours.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={'col-md-6 col-sm-6 col-xs-12 noPadd'}>
|
<div className={'col-md-6 col-sm-6 col-xs-12 noPadd'}>
|
||||||
|
@ -15,10 +15,10 @@ class Index extends React.Component {
|
|||||||
<Header/>
|
<Header/>
|
||||||
<TopBanner/>
|
<TopBanner/>
|
||||||
<Tutorials/>
|
<Tutorials/>
|
||||||
<Featured/>
|
|
||||||
<WillLearn/>
|
|
||||||
<Testimonials/>
|
<Testimonials/>
|
||||||
|
<WillLearn/>
|
||||||
<SubscribeNewsletter/>
|
<SubscribeNewsletter/>
|
||||||
|
<Featured/>
|
||||||
<Footer/>
|
<Footer/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -496,82 +496,42 @@ ul
|
|||||||
.reactBg
|
.reactBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/react-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/react-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/react-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.vueBg
|
.vueBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/vue-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/vue-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/vue-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.angularBg
|
.angularBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/angular-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/angular-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/angular-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.elmBg
|
.elmBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/elm-original.jpg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/elm-original.jpg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/elm-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.reBg
|
.reBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/reasonml-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/reasonml-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/reasonml-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.hasuraBg
|
.hasuraBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/hasura-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/hasura-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/hasura-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.postgresBg
|
.postgresBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/postgres-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/postgres-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/postgres-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.iosBg
|
.iosBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/ios-original.png');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/ios-original.png');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/ios-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.androidBg
|
.androidBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/android-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/android-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/android-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.flutterBg
|
.flutterBg
|
||||||
{
|
{
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/flutter-original.svg');
|
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/flutter-original.svg');
|
||||||
&:hover
|
|
||||||
{
|
|
||||||
background-image: url('https://graphql-engine-cdn.hasura.io/learn-hasura/assets/homepage/flutter-purple.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.reactDisableBg
|
.reactDisableBg
|
||||||
{
|
{
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: android-apollo
|
name: android-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: angular-apollo
|
name: angular-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: elm-graphql
|
name: elm-graphql
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: flutter-graphql
|
name: flutter-graphql
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: hasura-backend
|
name: hasura-backend
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
app: hasura
|
app: hasura
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: hasura/graphql-engine:v1.0.0-beta.3
|
- image: hasura/graphql-engine:v1.0.0-beta.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: hasura
|
name: hasura
|
||||||
env:
|
env:
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: ios-apollo
|
name: ios-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: react-apollo
|
name: react-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: react-native-apollo
|
name: react-native-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: reason-react-apollo
|
name: reason-react-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -25,6 +25,22 @@ spec:
|
|||||||
- image: hasura/base-git-image:0.7
|
- image: hasura/base-git-image:0.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: vue-apollo
|
name: vue-apollo
|
||||||
|
env:
|
||||||
|
- name: GATSBY_ALGOLIA_APP_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAppId
|
||||||
|
- name: GATSBY_ALGOLIA_SEARCH_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaSearchKey
|
||||||
|
- name: ALGOLIA_ADMIN_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: hasura-secret
|
||||||
|
key: algoliaAdminKey
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
|
||||||
# clone gatsby-gitbook-starter
|
# clone gatsby-gitbook-starter repo
|
||||||
RUN git clone https://github.com/hasura/gatsby-gitbook-starter.git
|
RUN git clone https://github.com/hasura/gatsby-gitbook-starter.git
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-android-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-angular-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-elm-graphql",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-flutter-graphql",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-ios-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 21:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-react-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-react-native-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-reason-react-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-07-30 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -15,6 +15,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-vue-apollo",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
@ -6,4 +6,4 @@ metaDescription: "The easiest way to bring live data to your Vue app UI is using
|
|||||||
|
|
||||||
The easiest way to bring live data to your UI is using the Smart Subscription from vue-apollo. Each subscription declared in the apollo.$subscribe option in a component results in the creation of a smart subscription object.
|
The easiest way to bring live data to your UI is using the Smart Subscription from vue-apollo. Each subscription declared in the apollo.$subscribe option in a component results in the creation of a smart subscription object.
|
||||||
|
|
||||||
One thing to note, subscriptions are just listeners, they don’t request any data when first connected, but only open up a connection to get new data.
|
One thing to note, subscriptions in vue-apollo are just listeners, they don’t request any data when first connected, but only open up a connection to get new data. But in Hasura GraphQL Engine, subscriptions are live queries. The initial request gives back data, if any, for the subscription.
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-06-03 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-27 11:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
@ -24,7 +24,7 @@ RUN rm -R content
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build static files
|
# Build static files
|
||||||
RUN npm run build
|
RUN GATSBY_ALGOLIA_APP_ID=WCBB1VVLRC GATSBY_ALGOLIA_SEARCH_KEY=0301b192e18d1598fde3095dc721bdba npm run build
|
||||||
|
|
||||||
# serve dist folder on port 8080
|
# serve dist folder on port 8080
|
||||||
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
CMD ["gatsby", "serve", "--verbose", "--prefix-paths", "-p", "8080", "--host", "0.0.0.0"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM node:carbon
|
FROM node:buster
|
||||||
|
|
||||||
# update this line when gatsby-gitbook-starter repo changes
|
# update this line when gatsby-gitbook-starter repo changes
|
||||||
RUN sh -c 'echo -e "Updated at: 2019-06-03 19:00:00 IST"'
|
RUN sh -c 'echo -e "Updated at: 2019-08-19 17:00:00 IST"'
|
||||||
|
|
||||||
# Install global dependencies
|
# Install global dependencies
|
||||||
RUN npm -g install gatsby-cli
|
RUN npm -g install gatsby-cli
|
||||||
|
@ -14,6 +14,13 @@ const config = {
|
|||||||
"text": "hasura.io",
|
"text": "hasura.io",
|
||||||
"link": "https://hasura.io"
|
"link": "https://hasura.io"
|
||||||
}],
|
}],
|
||||||
|
"search": {
|
||||||
|
"enabled": true,
|
||||||
|
"indexName": "learn-hasura-backend",
|
||||||
|
"algoliaAppId": process.env.GATSBY_ALGOLIA_APP_ID,
|
||||||
|
"algoliaSearchKey": process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
||||||
|
"algoliaAdminKey": process.env.ALGOLIA_ADMIN_KEY
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"forcedNavOrder": [
|
"forcedNavOrder": [
|
||||||
|
1
community/tools/graphiql-online/static/_redirects
Normal file
1
community/tools/graphiql-online/static/_redirects
Normal file
@ -0,0 +1 @@
|
|||||||
|
/* /index.html 200
|
Loading…
Reference in New Issue
Block a user