Update cryptpad-install.sh
This commit is contained in:
parent
711e0e4784
commit
b211224ec4
@ -43,6 +43,7 @@ cd cryptpad
|
|||||||
$STD git checkout $RELEASE
|
$STD git checkout $RELEASE
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
$STD npm run install:components
|
$STD npm run install:components
|
||||||
|
$STD npm run build
|
||||||
cp config/config.example.js config/config.js
|
cp config/config.example.js config/config.js
|
||||||
IP=$(hostname -I | awk '{print $1}')
|
IP=$(hostname -I | awk '{print $1}')
|
||||||
sed -i "51s/localhost/${IP}/g" /opt/cryptpad/config/config.js
|
sed -i "51s/localhost/${IP}/g" /opt/cryptpad/config/config.js
|
||||||
|
Loading…
x
Reference in New Issue
Block a user