Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aphp1_classwork80
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Egor Kremnev
aphp1_classwork80
Commits
256d12c1
Commit
256d12c1
authored
Aug 15, 2023
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build.sh script
parent
6c8cb3c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
build.sh
scripts/build.sh
+3
-4
No files found.
scripts/build.sh
View file @
256d12c1
...
@@ -14,6 +14,9 @@ echo -e "\e[32m [Success] \e[32m $1 \e[39m"
...
@@ -14,6 +14,9 @@ echo -e "\e[32m [Success] \e[32m $1 \e[39m"
info
"build started under user
$(
whoami
)
"
info
"build started under user
$(
whoami
)
"
echo
"Make database for testing
${
pwd
}
"
touch
database/database.unit.sqlite
touch
database/database.dusk.sqlite
info
"Install environment for unit tests"
info
"Install environment for unit tests"
cp
.env.unit .env
cp
.env.unit .env
...
@@ -34,10 +37,6 @@ php artisan test
...
@@ -34,10 +37,6 @@ php artisan test
info
"Setup environment for dusk test"
info
"Setup environment for dusk test"
cp
.env.dusk .env
cp
.env.dusk .env
echo
"Make database for testing
${
pwd
}
"
php artisan key:generate
php artisan key:generate
php artisan dusk:chrome-driver
php artisan dusk:chrome-driver
nohup
bash
-c
"php artisan serve --env=dusk --port=4343 2>&1 &"
&&
sleep
5
nohup
bash
-c
"php artisan serve --env=dusk --port=4343 2>&1 &"
&&
sleep
5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment