Removing default config from entrypoint.sh

This commit is contained in:
Sergiotarxz 2023-07-01 06:22:29 +02:00
parent 5633882010
commit 07d11eead4

View File

@ -10,18 +10,6 @@ rm -fr ~/.cpan && \
( echo y && echo reload cpan && echo o conf commit ) | perl -MCPAN -Mlocal::lib -e shell && \ ( echo y && echo reload cpan && echo o conf commit ) | perl -MCPAN -Mlocal::lib -e shell && \
perl Build.PL && \ perl Build.PL && \
./Build installdeps && \ ./Build installdeps && \
if ! [ -f las_tres.yml ]; then
cat << EOF > las_tres.yml
secrets:
- $(pwgen -s 512 1)
database:
user: $(whoami)
dbname: las_tres
hypnotoad:
listen:
- http://*:3000
EOF
fi && \
npx webpack && \ npx webpack && \
bash build_styles.sh && \ bash build_styles.sh && \
perl script/las_tres daemon perl script/las_tres daemon