-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,19 @@ | ||
English | [한국어](./docs/ko/README-ko.md) | ||
|
||
# Community rewards | ||
# Chainity - Blockchain + Community | ||
|
||
This is a platform that rewards members with tokens based on community activity. Members can use their tokens for membership fee. | ||
It encourages community members to fully participate by giving rewards and it can improve the community. | ||
|
||
## Getting Started | ||
## Demo | ||
|
||
This is a dApp based on Ethreum block chain. You need to join a network of Ethereum before running. | ||
####[Live Service](https://chainity.co.kr) | ||
|
||
### Prerequisites | ||
## Projects | ||
|
||
Install Geth | ||
``` | ||
wget https://gethstore.blob.core.windows.net/builds/geth-darwin-amd64-1.8.21-9dc5d1a9.tar.gz | ||
tar -xf geth-darwin-amd64-1.8.21-9dc5d1a9.tar.gz | ||
``` | ||
|
||
Start Geth | ||
``` | ||
geth-darwin-amd64-1.8.21-9dc5d1a9/geth --rpc --rinkeby | ||
``` | ||
|
||
Install MongoDB | ||
``` | ||
wget https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.6.4.tgz | ||
tar -xf mongodb-osx-ssl-x86_64-3.6.4.tgz | ||
mkdir [YOUR_DATA_PATH] | ||
``` | ||
|
||
Start MongoDB | ||
``` | ||
mongodb-osx-x86_64-3.6.4/bin/mongod --dbpath [YOUR_DATA_PATH] | ||
``` | ||
|
||
### Installing | ||
|
||
Clone the repo | ||
``` | ||
git clone [email protected]:JAVACAFE-STUDY/community-rewards.git | ||
cd community-rewards | ||
``` | ||
|
||
Install dependencies | ||
``` | ||
npm install | ||
npm install --prefix backend/ | ||
npm install --prefix frontend/ | ||
``` | ||
|
||
Set environment (vars) | ||
``` | ||
cp .env.example backend/.env | ||
``` | ||
|
||
Start server | ||
``` | ||
npm start | ||
``` | ||
- [chainity-api](https://github.com/JAVACAFE-STUDY/chainity-api) - API Server for Chainity | ||
- [chainity-web](https://github.com/JAVACAFE-STUDY/chainity-web) - Web Page for Chainity | ||
- [chainity-landing](https://github.com/JAVACAFE-STUDY/chainity-landing) - Landing Page for Chainity | ||
|
||
## Contributing | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters