mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 17:03:34 +08:00
0e2a7decd40a675db194cd5dfdd02e9b99158993
Talk 
A commenting platform from The Coral Project. https://coralproject.net
Contributing to Talk
Local Dependencies
Node Mongo
Getting Started
npm install
Run it once to install the dependencies.
npm start
Runs Talk.
Configuration
The Talk application requires specific configuration options to be available inside the environment in order to run, those variables are listed here:
TALK_SESSION_SECRET(required) - a random string which will be used to secure cookiesTALK_FACEBOOK_APP_ID(required) - the Facebook app id for your Facebook Login enabled app.TALK_FACEBOOK_APP_SECRET(required) - the Facebook app secret for your Facebook Login enabled app.TALK_ROOT_URL(required) - Root url of the installed application externally available in the format:<scheme>://<host>without the path.
Running with Docker
Make sure you have Docker running first and then run docker-compose up -d
Testing
npm test
Lint
npm run lint
Helpful URLs
Bare comment stream: http://localhost:5000/client/coral-embed-stream/ Comment stream embedded on sample article: http://localhost:5000/client/coral-embed-stream/samplearticle.html Moderator view: http://localhost:5000/admin/
Docs
swagger.yaml
License
Apache-2.0
Description
Languages
TypeScript
82.5%
Fluent
9.2%
CSS
5%
FreeMarker
1.6%
JavaScript
0.9%
Other
0.7%