mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 22:41:01 +08:00
49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
# Talk [](https://circleci.com/gh/coralproject/talk)
|
|
A commenting platform from The Coral Project. [https://coralproject.net](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 cookies
|
|
- `TALK_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**
|