Extra node packages

This commit is contained in:
Bob Mottram 2018-05-21 18:14:18 +01:00
parent 2d934d1fdd
commit e570985bfe
1 changed files with 19 additions and 0 deletions

View File

@ -339,6 +339,8 @@ function hackmd_create_config {
} }
function install_hackmd { function install_hackmd {
apt-get -yq install phantomjs
install_mariadb install_mariadb
get_mariadb_password get_mariadb_password
@ -377,6 +379,23 @@ function install_hackmd {
chmod +x bin/setup chmod +x bin/setup
./bin/setup ./bin/setup
hackmd_create_config hackmd_create_config
npm install
npm install ejs
npm install passport
npm install method-override
npm install cookie-parser
npm install compression
npm install express-session
npm install connect-session-sequelize
npm install morgan
npm install passport.socketio
npm install helmet
npm install i18n
npm install connect-flash
npm install lodash
npm install deep-freeze
npm install winston
npm install markdown-pdf
npm run build npm run build
chmod g+w "/var/www/$HACKMD_DOMAIN_NAME/htdocs" chmod g+w "/var/www/$HACKMD_DOMAIN_NAME/htdocs"