NOTE: Preferred way to install and run allcountjs on Windows is to use Git-Bash.
npm install -g allcountjs-cli
NOTE: Users who prior installed allcountjs globally could continue use it but this way should be considered as deprecated.
AllcountJS server uses Git repositories and regular directories to load app configurations from it and MongoDB to store application data. To use AllcountJS Git capabilities Git should be installed and available in path. To init new AllcountJS project just run
You'll be prompted to enter project name, description and other info saved to package.json.
You could also pass
--template <template_name> option that could be used to init your project with existing demo at Demo Gallery.
template_name can be found at Demo Gallery.
After project is initialized you could see created from template
package.json in newly created project directory.
In order to install AllcountJS dependencies please run:
cd <project_name> && npm install
To run your project and to connect to local MongoDB instance please run from project dir:
Please note that MongoDB should be running in order to run this example.