Skip to content

sclbl/scalable-module-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scalable-module-boilerplate

A starting point for Scalable modules. Includes the module base, skeleton and fontawesome.

Included Packages

Installation

  1. Clone this repo to <your_module>

git clone https://github.com/Sclbl/scalable-module-boilerplate.git <your_module>

  1. Remove .git

cd <your_module> && rm -rf .git

  1. Update settings.json

Replace <Module Name>, <Developer Name> and "rootUrl": "http://host:port" with your information.

Example: The Scalable Notes module with Scalable core running locally on port 3000 and secretKey XXX.

```
{
  "public": {
    "scalable": {
      "module": {
        "name": "Notes",
        "developer": "Scalable"
      },
      "core": {
        "settings": {
          "rootUrl": "http://127.0.0.1:3000"
        }
      }
    }
  },
  "scalable": {
    "core": {
      "settings": {
        "secretKey": "XXX"
      }
    }
  }
}
```
  1. Run Scalable core locally on port 3000 with

meteor --settings settings.json --port 3000

  1. Run your module locally on a free port with your settings

e.g. meteor --settings settings.json --port 4000

The module will automatically register itself and should be visible seconds after that.

  1. Happy coding!

About

A basic starting point when creating a new Scalable module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published