This commit is contained in:
Jeff Zhang 2015-07-25 12:25:30 +08:00
parent 329021ad69
commit 85791a5abc

View File

@ -23,10 +23,11 @@ $ make
$ sudo make install $ sudo make install
$ redis-server & $ redis-server &
``` ```
Then install flask and the redis plugin for python: Then install flask and the redis plugin:
```bash ```bash
$ sudo pip install flask $ sudo pip install flask
$ sudo pip install redis $ sudo pip install redis
$ luarocks install redis-lua
``` ```
Put you model file in online_model, rename it as 'model.t7', the start the backend and fontend script: Put you model file in online_model, rename it as 'model.t7', the start the backend and fontend script:
```bash ```bash