This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
forked from dash1291/commonplace
-
Notifications
You must be signed in to change notification settings - Fork 5
Getting Started
Matt Basta edited this page Nov 9, 2013
·
3 revisions
This is a guide to starting a new project with Commonplace.
Simply run the following command:
npm install -g commonplace
The first thing you'll want to do is create the project and run the installer.
cd /opt
mkdir myproj
cd myproj
# Initialize a git repo
git init
# Run the Commonplace installer
commonplace install
To make the project run, you'll need to provide configuration. A src/media/js/settings.js
file should have been created for you. In that file, you'll find a number of parameters that will need to be configured to your project.
At this point, you should be able to run damper
in the project root to start a simple server. This will be accessible at http://localhost:8675/. You can read more about that in the Damper article.
If you navigate to http://localhost:8675/tests, you should be able to run the project's unit tests.
Next, you'll want to do the following: