2016-12-28 23:49:51 +01:00
|
|
|
# Misskey
|
|
|
|
|
|
|
|
[![][travis-badge]][travis-link]
|
2016-12-30 13:38:00 +01:00
|
|
|
[![][appveyor-badge]][appveyor-link]
|
2016-12-28 23:49:51 +01:00
|
|
|
[![][dependencies-badge]][dependencies-link]
|
|
|
|
[![][mit-badge]][mit]
|
|
|
|
|
|
|
|
A miniblog-based SNS.
|
|
|
|
|
2016-12-29 12:43:33 +01:00
|
|
|
![ss](./resources/ss.jpg)
|
|
|
|
|
2016-12-28 23:49:51 +01:00
|
|
|
## Dependencies
|
|
|
|
* Node.js
|
|
|
|
* MongoDB
|
|
|
|
* Redis
|
|
|
|
* GraphicsMagick
|
|
|
|
|
2016-12-30 13:48:18 +01:00
|
|
|
### Optional
|
2016-12-28 23:49:51 +01:00
|
|
|
* Elasticsearch
|
|
|
|
|
|
|
|
## Get started
|
2016-12-29 16:23:25 +01:00
|
|
|
### Domains
|
2016-12-28 23:49:51 +01:00
|
|
|
Misskey requires two domains called the primary domain and the secondary domain.
|
|
|
|
|
|
|
|
* The primary domain is used to provide main service of Misskey.
|
|
|
|
* The secondary domain is used to avoid vulnerabilities such as XSS.
|
|
|
|
|
|
|
|
**Ensure that the secondary domain is not a subdomain of the primary domain.**
|
|
|
|
|
2016-12-29 16:23:25 +01:00
|
|
|
### reCAPTCHA
|
|
|
|
Visit and generate keys
|
|
|
|
https://www.google.com/recaptcha/intro/
|
|
|
|
|
2016-12-28 23:49:51 +01:00
|
|
|
## Build
|
|
|
|
1. `git clone git://github.com/syuilo/misskey.git`
|
|
|
|
2. `cd misskey`
|
|
|
|
3. `npm install`
|
|
|
|
4. `npm run config`
|
|
|
|
5. `npm run build`
|
|
|
|
|
2016-12-30 05:55:58 +01:00
|
|
|
## Test
|
|
|
|
`npm test`
|
|
|
|
|
2016-12-28 23:49:51 +01:00
|
|
|
## Launch
|
2016-12-29 16:16:47 +01:00
|
|
|
`sudo npm start`
|
2016-12-28 23:49:51 +01:00
|
|
|
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE)
|
|
|
|
|
|
|
|
[mit]: http://opensource.org/licenses/MIT
|
|
|
|
[mit-badge]: https://img.shields.io/badge/license-MIT-444444.svg?style=flat-square
|
|
|
|
[travis-link]: https://travis-ci.org/syuilo/misskey
|
2016-12-30 13:40:19 +01:00
|
|
|
[travis-badge]: http://img.shields.io/travis/syuilo/misskey.svg?style=flat-square&label=Linux
|
2016-12-30 13:38:00 +01:00
|
|
|
[appveyor-link]: https://ci.appveyor.com/project/syuilo/misskey
|
2016-12-30 13:40:19 +01:00
|
|
|
[appveyor-badge]: https://img.shields.io/appveyor/ci/syuilo/misskey/master.svg?style=flat-square&label=Windows
|
2016-12-28 23:49:51 +01:00
|
|
|
[dependencies-link]: https://gemnasium.com/syuilo/misskey
|
|
|
|
[dependencies-badge]: https://img.shields.io/gemnasium/syuilo/misskey.svg?style=flat-square
|