jsHarmony CMS Sample Project
- Node.js
-
Install the jsHarmony CLI, if not already installed
npm install -g jsharmony-cli
-
Create an empty folder for the project
mkdir cms-sample cd cms-sample
-
Install jsharmony-cms-sample:
jsharmony create project cms-sample
This will download the project source and install in the current folder.
The installer will generate the admin username and password.
If
jsharmony
doesn't run, ensure the Node.js npm folder is in your system PATH variable. -
Start the server by running:
nstart.cmd -- or -- node app.js
-
Browse to http://localhost:8080 and log in using the admin username and password from Step 3
-
Watch the Getting Started video tutorials at jsHarmonyCMS.com :: Getting Started to learn how to create a new site, install or create templates, add pages, and publish.
-
Page and Component Templates can be modified in the local folder
data\site\[site_id]\templates
Optionally, update templates via SFTP by enabling SFTP in
app.config.js
, below the line whereconfigCMS.git
is enabled:configCMS.sftp.enabled = true;
-
Review the configuration settings in
app.config.js
andapp.config.local.js
.A reference for jsHarmony CMS config options is available at jsHarmonyCMS.com :: System Config.
Depending on your server, you may need to configure ports and IP addresses to not conflict with other services.