Last active
May 4, 2020 22:43
-
-
Save tormi/a8b8fc39f9481373b24dc94cb8d2ee31 to your computer and use it in GitHub Desktop.
Gatsby with Lando
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quickstart for Gatsby starter within Lando environment | |
# | |
# Install Lando v. >RC1. | |
# Place .lando.yml inside some directory and cd there. | |
# `git init . && git remote add origin https://github.com/gatsbyjs/gatsby-starter-default.git && git pull origin master` | |
# (feel free to use any starter repo URL). | |
# `lando start`. | |
# Use `lando` for commands available. | |
name: gatsby | |
proxy: | |
appserver: | |
- gatsby.lndo.site:8000 | |
services: | |
appserver: | |
type: node:10 | |
port: '8000' | |
command: gatsby develop --host 0.0.0.0 | |
install_dependencies_as_me: | |
- yarn global add gatsby-cli | |
- yarn | |
tooling: | |
yarn: | |
service: appserver | |
gatsby: | |
service: appserver | |
node: | |
service: appserver | |
npm: | |
service: appserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment