Skip to content

Commit

Permalink
Formatting, compiling, and adding build/compose scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jenga201 committed Sep 2, 2023
1 parent f58d7c9 commit 48aaf2b
Show file tree
Hide file tree
Showing 11 changed files with 11,653 additions and 4,352 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# dependencies
/node_modules/
/vendor/
var/

# IDEs and editors
.idea
Expand Down
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
git fetch && git pull
docker stop devniblcouk
docker rm devniblcouk
docker build -f Dockerfile -t devniblcouk .
docker run -d --net='my-bridge' -v '/opt/dev.nibl.co.uk/var':'/var/www/html/var':'rw' --name=devniblcouk devniblcouk
8 changes: 8 additions & 0 deletions compose.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

composer update
composer install
npm install
composer format
composer psalm
npm run prod
Loading

0 comments on commit 48aaf2b

Please sign in to comment.