mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
0d4a029529fb3aee028f505b5b6f92fc315c00b5
Adds https and accessibility to embed code.
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
Languages
TypeScript
82.5%
Fluent
9.2%
CSS
5%
FreeMarker
1.6%
JavaScript
0.9%
Other
0.7%