当前位置: 首页 > 工具软件 > Scumblr > 使用案例 >

Scumblr installation & run

慕鸿波
2023-12-01

原网址: https://hackmd.io/6eJb4LEZQjerM2qdxuKGeQ#

1. Install redis

wget http://download.redis.io/releases/redis-5.0.0.tar.gz
tar xzf redis-5.0.0.tar.gz
cd redis-5.0.0
make
cd ..
sudo mv redis-5.0.0 /usr/local/redis
echo 'export PATH=$PATH:/usr/local/redis/src' >> ~/.profile
. ~/.profile

2. install node

sudo apt-get install nodejs
sudo apt install nodejs-legacy
sudo apt install npm

参考:Ubuntu16.04安装最新版nodejs 

3. Install the scrumblr

git clone https://github.com/aliasaria/scrumblr
cd scrumblr

4. 更改原文件的 "server.js"文件 (第5行):

var sys = require('util');

5. 更改原文件的"config.js"文件(第27行):

exports.database = {
  type: 'redis',
  prefix: '#scrumblr#',
  redis: argv.redis || 'redis://127.0.0.1:6379'
};

 6. Install the dependencies:

npm install

 7. Run the redis server in background

redis-server &

8. Finally start the scrumblr with port number 8888

     先转到scrumblr的目录里

cd git/scrumblr/
node server.js --port 8888

9. 打开浏览器,输入URL:"http://127.0.0.1:8888" 即可

 

 类似资料: