-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-dev
More file actions
executable file
·27 lines (23 loc) · 841 Bytes
/
build-dev
File metadata and controls
executable file
·27 lines (23 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
if [ ! -f ./app/config/build.settings ]
then
cp ./app/config/build.settings.template ./app/config/build.settings
fi
if [ ! -d log ]
then
mkdir log
fi
phing -e -Dsettings=build.settings -f app/config/phing.xml -logger phing.listener.DefaultLogger configure
echo
composer install --no-ansi
echo
compass compile src/Orderware/AppBundle/Resources/config/compass
echo
php bin/phinx --configuration=app/config/phinx.yml --environment=dev --no-interaction --no-ansi migrate
php bin/phinx --configuration=app/config/phinx.yml --environment=test --no-interaction --no-ansi migrate
#echo
#psql -hlocalhost -Uorderware orderware < app/config/initdb.sql
echo
echo "Orderware has been built successfully!\n"
echo "Use ./start-server to start the development server."
echo "Navigate to http://orderware.dev:8000/admin to sign in.\n"