bower install
This commit is contained in:
parent
1e1ed55816
commit
1e7e023dd2
|
@ -339,7 +339,7 @@ function install_cryptpad_main {
|
|||
echo '' >> $cryptpad_nginx_site
|
||||
echo ' index index.html;' >> $cryptpad_nginx_site
|
||||
echo '' >> $cryptpad_nginx_site
|
||||
echo ' location = / {' >> $cryptpad_nginx_site
|
||||
echo ' location = /cryptpad_websocket {' >> $cryptpad_nginx_site
|
||||
echo " proxy_pass http://localhost:$CRYPTPAD_PORT;" >> $cryptpad_nginx_site
|
||||
echo ' proxy_set_header X-Real-IP $remote_addr;' >> $cryptpad_nginx_site
|
||||
echo ' proxy_set_header Host $host;' >> $cryptpad_nginx_site
|
||||
|
@ -390,7 +390,7 @@ function install_cryptpad_main {
|
|||
echo '' >> $cryptpad_nginx_site
|
||||
echo ' index index.html;' >> $cryptpad_nginx_site
|
||||
echo '' >> $cryptpad_nginx_site
|
||||
echo ' location = / {' >> $cryptpad_nginx_site
|
||||
echo ' location = /cryptpad_websocket {' >> $cryptpad_nginx_site
|
||||
echo " proxy_pass http://localhost:$CRYPTPAD_PORT;" >> $cryptpad_nginx_site
|
||||
echo ' proxy_set_header X-Real-IP $remote_addr;' >> $cryptpad_nginx_site
|
||||
echo ' proxy_set_header Host $host;' >> $cryptpad_nginx_site
|
||||
|
@ -455,7 +455,7 @@ function install_cryptpad {
|
|||
|
||||
npm install
|
||||
npm install -g bower@1.8.0
|
||||
bower install
|
||||
su -c 'bower install' - cryptpad
|
||||
cp config.example.js config.js
|
||||
if [ ! -f config.js ]; then
|
||||
echo $'Cryptpad config file not found'
|
||||
|
|
Loading…
Reference in New Issue