- nvm(https://github.com/creationix/nvm/)
- iojs ≧ 1.8.1
- mysql
- Ruby(RVM)
- nvm use iojs-v1.8.X (或更高)
- npm install
- start mysql
- create local mysql db 建立一個資料庫名稱為picklete,編碼為utf-8
export PATH=node_modules/.bin:$PATH
gem install bootstrap-sass compass font-awesome-sass
- npm start
- Nodemailer, https://github.com/andris9/Nodemailer
- sails-service-mailer, https://www.npmjs.com/package/sails-service-mailer
picklete docker repo: https://hub.docker.com/r/miiixr/picklete/
- cd picklete
- docker-compose up -d mysql
- create picklete_prod database, import schema
- docker run -d --link mysql -p 1337:1337 miiixr/picklete