1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-04-19 01:56:44 +02:00

generate dist

This commit is contained in:
lxsang 2020-12-25 21:34:21 +00:00
parent 083a2d9a4d
commit 0e3cf187be
2 changed files with 26 additions and 23 deletions

Binary file not shown.

View File

@ -1,6 +1,10 @@
#! /bin/bash #! /bin/bash
set -e set -e
mkdir -p /opt/www/htdocs
if [ "$1" = "full" ]; then
# base server # base server
wget -O- https://get.bitdojo.dev/antd | bash -s "1.0.6b" wget -O- https://get.bitdojo.dev/antd | bash -s "1.0.6b"
# base plugin # base plugin
@ -17,8 +21,6 @@ tar xvzf antd-publishers-0.1.0a.tar.gz
cd antd-publishers-0.1.0a cd antd-publishers-0.1.0a
./configure --prefix=/opt/www && make && make install ./configure --prefix=/opt/www && make && make install
mkdir -p /opt/www/htdocs
cd /opt/www cd /opt/www
# create the configuration file # create the configuration file
@ -86,6 +88,7 @@ openssl genrsa -des3 -passout pass:1234 -out keypair.key 2048
openssl rsa -passin pass:1234 -in keypair.key -out server.key openssl rsa -passin pass:1234 -in keypair.key -out server.key
openssl req -new -subj '/C=FR' -key server.key -out server.csr openssl req -new -subj '/C=FR' -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
fi
cd /opt/www/htdocs cd /opt/www/htdocs