Skip to content

Commit

Permalink
[BUGFIX] Correction du script de configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Jun 28, 2024
2 parents c336d90 + 804ad23 commit 1defca4
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,48 @@ function setup_and_run_infrastructure() {
echo "Creating database"

# It drops and creates database then load the seed.
(cd api && npm run db:reset)
(cd api && npm ci && npm run db:reset)

echo "✅ Database created"
echo ""

# Install dependencies for admin
echo "Installing dependencies for admin"
(cd admin && npm ci)
echo "✅ Dependencies for admin was installed"
echo ""

# Install dependencies for audit-logger
echo "Installing dependencies for audit-logger"
(cd audit-logger && npm ci)
echo "✅ Dependencies for audit-logger was installed"
echo ""

# Install dependencies for "certif"
echo "Installing dependencies for certif"
(cd certif && npm ci)
echo "✅ Dependencies for certif was installed"
echo ""

# Install dependencies for "junior"
echo "Installing dependencies for junior"
(cd junior && npm ci)
echo "✅ Dependencies for junior was installed"
echo ""

# Install dependencies for "mon-pix"
echo "Installing dependencies for mon-pix"
(cd mon-pix && npm ci)
echo "✅ Dependencies for mon-pix was installed"
echo ""

# Install dependencies for orga
echo "Installing dependencies for orga"
(cd orga && npm ci)
echo "✅ Dependencies for orga was installed"
echo "-----------"
echo "✔ All dependencies was downloaded and installed"

}

function display_footer {
Expand Down

0 comments on commit 1defca4

Please sign in to comment.