Skip to content

Commit e84c15f

Browse files
author
Doug Hatcher
committed
adds a devcontainer for running hlx
1 parent 172a23d commit e84c15f

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

.devcontainer/devcontainer.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
3+
{
4+
"name": "Node.js",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
"forwardPorts": [3000],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "npm i -g @adobe/helix-cli && npm i",
16+
17+
"postAttachCommand": "hlx up"
18+
// Configure tool-specific properties.
19+
// "customizations": {},
20+
21+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22+
// "remoteUser": "root"
23+
}

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
# Your Project's Title...
2-
Your project's description...
1+
# Lovesac Crosswalk Demo
2+
3+
This repo is an Helix/Franklin/NGC/SuccessEdge/EDN project that will serve as the basis for showcasing Project Crosswalk's ability to leverage a Helix project (this codebase) within Universal Editor and to serve the composed experience over the Helix "Edge Delivery Network".
34

45
## Environments
5-
- Preview: https://main--{repo}--{owner}.hlx.page/
6-
- Live: https://main--{repo}--{owner}.hlx.live/
6+
- Preview: https://main--lovesac--tuckerelliott.hlx.page/
7+
- Live: https://main--lovesac--tuckerelliott.hlx.live/
8+
9+
### GraphQL Endpoints
10+
11+
- Lovesac Staging: https://staging.lovesac.com/graphql
712

813
## Installation
914

0 commit comments

Comments
 (0)