Hi,
This looks like a gorgeous project so I’m giving it a try. I installed SpeckleServer on a Debian Sid machine, and I did the following steps, might be useful to someone else:
- install mongodb and redis server:
sudo apt-get install mongodb redis
- Since I don’t want to have both the redis and mongo servers running all the time (I’m just testing for now), I disabled both startup scripts:
sudo systemctl disable mongodb
andsudo systemctl disable redis-server
- Clone SpeckleServer:
git clone https://github.com/speckleworks/SpeckleServer.git
- Edit config.js and adjust the mongo url line:
url: process.env.MONGODB_URI || process.env.MONGO_URI || 'mongodb://localhost:27017/speckle'
and the redis url line:url: process.env.REDIS_URL || 'redis://localhost:6379'
- Stop both mongo and redis processes that were started by apt-get:
sudo systemctl stop mongodb
andsudo systemctl stop redis-server
- Start mongo:
mongodb --dbpath /path/to/some/folder
(create a folder somewhere to store the db) - Start redis:
redis-server
- Start Speckle:
node server.js
Any problem, test the mongodb connection by running mongo
and the redis server by running redis-cli