Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dc-ag/theme-dev-server
Small webserver for developing themes for dynamic commerce ecosystem
https://github.com/dc-ag/theme-dev-server
frontend-webdevelopment theme-development
Last synced: about 2 months ago
JSON representation
Small webserver for developing themes for dynamic commerce ecosystem
- Host: GitHub
- URL: https://github.com/dc-ag/theme-dev-server
- Owner: dc-ag
- License: mit
- Created: 2020-05-15T08:25:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T21:12:32.000Z (over 1 year ago)
- Last Synced: 2024-10-31T18:36:03.682Z (2 months ago)
- Topics: frontend-webdevelopment, theme-development
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Package to run a small webserver for developing a theme for the dynamic commerce ecosystem.
## Install
`npm install dynamic-commerce-theme-dev-server`
## Basic usage
```javascript
import { run } from "dc-ag-theme-dev-server";// NEVER COMMIT YOUR CREDENTIALS
var options = {
username: "", // Your Usename/E-Mail
password: "", // Your password
dataBaseUrl: "", // Base URL of the website
language: "", // The language you whish the website to be in (e.g. de-DE)
themeName: "", // The name of the theme currently being worked with
//basicAuthUsername: "", // (optional) If the website has additional Basic Auth enabled
//basicAuthPasswor?: "", // (optional) If the website has additional Basic Auth enabled
//port: 3000, // Port on which to run the local server on
//mainTemplateName: "", // Main template (defaults to main.mustache)
//headerPartialTemplateName: "" // Header Partial template (defaults to headerPartial.mustache)
}run(options);
```