Prerequisities: Docker & Docker Compose.
Tested under docker-compose 1.21.0, lower versions might be incompatible.
- Download this repository
- Go to the root of this repository
- Run
./setup.sh
. This process might take 5-10 minutes depending on your internet connection. Wait until everything is done. - Run
docker-compose up
The recommender is now available under http://localhost:5000
.
Use CTRL+C
to stop the application.
Keys must be inserted in the following source files:
- app/app.py
- app/reddit_subscriptions.py
- app/twitter_api.py
- app/twitter_api_friends.py
- app/loaduser.py
Download and install [Putty] (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
This is only required if you want to omit the step of typing in the very complicated and long vm password each time you connect to the VM.
- Open the Putty Key Generator (e.g. by typing puttygen into the windows search bar or executing the command in your local bash)
- Click on Generate
- Move the mouse continuously over the tools blank field to generate the key
- Set a keyphrase (your new password, if you make this too complicate now you missed the purpose of this)
- Save both private and public key locally.
- Open Putty
- Fill in the details according to the following pictures:
- Click on open and use the standard VM password in the following prompt.
Thats it, you're connected with the VM.
If you created a key pair in the previous step, you can now do
- nano /home/di-g3_adm/.ssh/authorized_keys
- add a new line to the file and copy the content of your public key into the file
- Save the file. Next time you will connect to the VM, you can use your private password.