Name: Rocket.Chat.Apps-dev-environment
Owner: Rocket.Chat
Description: The Rocket.Chat Apps development environment.
Created: 2017-06-19 16:26:50.0
Updated: 2018-05-15 23:56:51.0
Pushed: 2018-05-20 20:35:11.0
Size: 1410
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Development environment for getting started developing Rocket.Chat Apps.
Extremely simple.
clone git@github.com:RocketChat/Rocket.Chat.Apps-dev-environment.git
install
start
This will watch the apps
directory for changes and run everything.
In trying to make this a smooth development environment there were a few decisions made.
First up, unless you're extending the development environment, the only folder you should be concerned about is apps
and dist
.
The other folders are for making the development environment a pleasure to work with (hopefully).
The .server
directory is the “mock” server with storage, this is where the code lives which mocks up the Rocket.Chat server.
We require UUID Version 4 for IDs. To generate one for your App we recommend this site: https://www.uuidgenerator.net/version4
Due to limitations of NodeJS's vm
package we have had to implement a custom logger class.
To make usage of this you can use this.getLogger()
and then do the normal console
style logging.