https://github.com/amitkumarj441/p2p-btc-trading-system
Building a pure P2P bitcoins trading system that let users trade digital works online ,kind of like freelancing.
https://github.com/amitkumarj441/p2p-btc-trading-system
couchdb expressjs lazybones-templates nodejs
Last synced: 3 months ago
JSON representation
Building a pure P2P bitcoins trading system that let users trade digital works online ,kind of like freelancing.
- Host: GitHub
- URL: https://github.com/amitkumarj441/p2p-btc-trading-system
- Owner: amitkumarj441
- License: apache-2.0
- Created: 2017-09-30T10:36:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-30T16:29:13.000Z (over 7 years ago)
- Last Synced: 2025-01-26T14:12:04.938Z (5 months ago)
- Topics: couchdb, expressjs, lazybones-templates, nodejs
- Language: JavaScript
- Homepage:
- Size: 309 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# P2P BTC Trading system
Building a pure P2P bitcoins trading system that let users trade digital works online, kind of like freelancing.## Deployment Instructions
**Install dependencies**
CouchDB
Libssl-dev
Vim-nox
Nginx
Unzip
G++
Screen
Git-core
Nodejs>= 0.6.1
npm```
2. vim /etc/nginx/sites-available/b2w
=====================================================
upstream app_cluster_1 {
server 127.0.0.1:3001;
}server {
listen 0.0.0.0:80;
server_name b2w.com www.b2w.com;
access_log /var/log/nginx/b2w.log;location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;proxy_pass http://app_cluster_1/;
proxy_redirect off;
}
}
=====================================================
```3. Enable Nginx server
ln -s /etc/nginx/sites-available/b2w /etc/nginx/sites-enabled/b2w4. Under the b2w folder, run:
npm install forever LazyBoy ejs express5. `/bin/forever start app.js`