Changeset View
Changeset View
Standalone View
Standalone View
bin/quickstart.sh
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
pushd ${base_dir}/src/ | pushd ${base_dir}/src/ | ||||
rm -rf vendor/ composer.lock | rm -rf vendor/ composer.lock | ||||
php -dmemory_limit=-1 /bin/composer install | php -dmemory_limit=-1 /bin/composer install | ||||
npm install | npm install | ||||
find bootstrap/cache/ -type f ! -name ".gitignore" -delete | find bootstrap/cache/ -type f ! -name ".gitignore" -delete | ||||
./artisan key:generate | ./artisan key:generate | ||||
./artisan jwt:secret -f | |||||
./artisan clear-compiled | ./artisan clear-compiled | ||||
./artisan cache:clear | ./artisan cache:clear | ||||
./artisan horizon:install | ./artisan horizon:install | ||||
./artisan passport:keys --force | |||||
if [ ! -z "$(rpm -qv chromium 2>/dev/null)" ]; then | if [ ! -z "$(rpm -qv chromium 2>/dev/null)" ]; then | ||||
chver=$(rpmquery --queryformat="%{VERSION}" chromium | awk -F'.' '{print $1}') | chver=$(rpmquery --queryformat="%{VERSION}" chromium | awk -F'.' '{print $1}') | ||||
./artisan dusk:chrome-driver ${chver} | ./artisan dusk:chrome-driver ${chver} | ||||
fi | fi | ||||
if [ ! -f 'resources/countries.php' ]; then | if [ ! -f 'resources/countries.php' ]; then | ||||
./artisan data:countries | ./artisan data:countries | ||||
Show All 14 Lines |