Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaellwest/docker-sxa-node
Demonstration using the SXA CLI from within a Docker container with Node installed.
https://github.com/michaellwest/docker-sxa-node
Last synced: 3 months ago
JSON representation
Demonstration using the SXA CLI from within a Docker container with Node installed.
- Host: GitHub
- URL: https://github.com/michaellwest/docker-sxa-node
- Owner: michaellwest
- Created: 2020-02-12T22:49:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T22:11:51.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T19:23:55.798Z (6 months ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- Awesome-Sitecore - docker-sxa-node - Demonstrates using the SXA CLI from within a Docker container with Node installed. (SXA (Sitecore Experience Accelerator))
README
# Getting Started
After cloning the repo you can use the following commands to get your environments setup.
**Note:** The prefix `docker-sxa-node` is due to the fact that the container is running from within a folder with that name.
Run from within the terminal:
```
docker-compose up -d
```If you need to enable the SPE services to allow for files to be uploaded you can follow these steps:
```
docker exec -it docker-sxa-node_cm_1 powershell
cd C:\inetpub\wwwroot\App_Config\Include\z.Feature.Overrides
Get-Item -Path .\z.SPE.Sync.Enabler.Gulp.config.disabled | Rename-Item -NewName z.SPE.Sync.Enabler.Gulp.config
exit
```Run from within the terminal:
```
docker exec -it docker-sxa-node_node_1 powershell
```Run from within the node container:
```
cd theme
sxa register http://cm
sxa new DemoTheme
# Follow the wizard
# ...
cd DemoTheme
mkdir scripts
npm install; gulp update; gulp install; gulp;
```Login to Sitecore and validate the theme files are syncing to the media library.
http://localhost:44001/sitecore