Skip to content

Commit

Permalink
Change to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Aug 24, 2024
1 parent 4cf2d88 commit 4861e0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if [ ! -d "./phpmyadmin" ]; then
git clone https://github.com/phpmyadmin/phpmyadmin.git phpmyadmin --filter=tree:0 -b STABLE
cd ./phpmyadmin
composer install -o
yarn install
yarn build
npm install
npm run build
cp config.sample.inc.php config.inc.php
hash=`node -e "console.log(require('crypto').randomBytes(16).toString('hex'))"`
sed -ri "s/\['blowfish_secret'\] = '';/['blowfish_secret'] = '${hash}';/g" config.inc.php
Expand All @@ -14,8 +14,8 @@ else
cd ./phpmyadmin
git pull
composer install -o
yarn install
yarn build
npm install
npm run build
cd ..
fi
if [ ! -d "./phppgadmin" ]; then
Expand Down

0 comments on commit 4861e0b

Please sign in to comment.