mirror of
https://github.com/Yannick7777/codeigniter-setup-script.git
synced 2025-09-10 16:12:49 +02:00
Compare commits
No commits in common. "119ef5c815f0cecd6560a4cbc3597f35b33b4db1" and "3b2b3eefac5cd07f33d1a437f30f4c2de1232a73" have entirely different histories.
119ef5c815
...
3b2b3eefac
2 changed files with 1 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
||||||
curl unzip
|
curl
|
||||||
#list additional packages to be installed inside the container on the first line only
|
#list additional packages to be installed inside the container on the first line only
|
||||||
|
|
2
setup
2
setup
|
@ -47,10 +47,8 @@ done
|
||||||
docker run --user $dockerUID:$dockerGID --rm -v ./igniter:/app -it script_igniter composer install
|
docker run --user $dockerUID:$dockerGID --rm -v ./igniter:/app -it script_igniter composer install
|
||||||
cp env_docker .env
|
cp env_docker .env
|
||||||
cp env_docker igniter/.env
|
cp env_docker igniter/.env
|
||||||
echo "authjwt.keys.default.0.secret = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1)" >> .env
|
|
||||||
echo "dockerUID=$dockerUID" >> .env
|
echo "dockerUID=$dockerUID" >> .env
|
||||||
echo "dockerGID=$dockerGID" >> .env
|
echo "dockerGID=$dockerGID" >> .env
|
||||||
echo "authjwt.keys.default.0.secret = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1)"
|
|
||||||
|
|
||||||
if [ -z "$(ls -A dbdata)" ]; then
|
if [ -z "$(ls -A dbdata)" ]; then
|
||||||
echo "Initialising database.."
|
echo "Initialising database.."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue