All Projects → vendure-ecommerce → vendure-demo

vendure-ecommerce / vendure-demo

Licence: other
A dockerized demo project showcasing the Vendure server

Programming Languages

typescript
32286 projects
HTML
75241 projects
Handlebars
879 projects
CSS
56736 projects
Dockerfile
14818 projects
shell
77523 projects

Vendure Demo

This is a demo project used as the basis for the online Vendure demo. The src/index.ts script populates the server using the Vendure CLI populate command, and then caches the generated pristine data. Every day, this cached data is restored to reset any changes which have been made to the server instance in that time.

Storefront

The storefront is fetched from an Amazon S3 bucket which contains build artifacts from the vendure-storefront project. The version of the storefront app can be set in the following line in the dockerfile:

RUN ["./install-storefront.sh", "vX.Y.Z"]

This version should match one of the storefront release tags

Running Locally

To run locally, install dependencies with yarn and then run the script with yarn start.

Running in Docker

There is a bundled Dockerfile which allows the app to be run in a Docker container.

docker build -t vendure-demo .
docker run --name vendure -p 3000:3000 -d vendure-demo

Deploying

The demo is being deployed to a Digital Ocean server running Dokku at https://demo.vendure.io.

See Host your Node app on Dokku & DigitalOcean for a guide to how this was set up.

To deploy changes after commit use this command:

git push dokku master
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].