Re-spec tasks of spec file (Grunt compile)
This commit is contained in:
parent
71193223a0
commit
22f3fe0266
|
@ -60,7 +60,7 @@ chkconfig --add shelfzilla
|
||||||
rmdir %{_app_dir}/init/
|
rmdir %{_app_dir}/init/
|
||||||
|
|
||||||
## Npm install
|
## Npm install
|
||||||
cd %{_app_dir} && npm install
|
cd %{_app_dir} && npm install --production
|
||||||
|
|
||||||
## pip install
|
## pip install
|
||||||
pip install -r %{_app_dir}/config/production/requirements.txt
|
pip install -r %{_app_dir}/config/production/requirements.txt
|
||||||
|
@ -74,9 +74,6 @@ python2.7 %{_app_dir}/manage.py migrate
|
||||||
## Bower
|
## Bower
|
||||||
bower install --allow-root
|
bower install --allow-root
|
||||||
|
|
||||||
## Grunt compile
|
|
||||||
cd %{_app_dir} && grunt compile
|
|
||||||
|
|
||||||
## Collect static
|
## Collect static
|
||||||
python2.7 manage.py collectstatic --clear --noinput
|
python2.7 manage.py collectstatic --clear --noinput
|
||||||
|
|
||||||
|
|
Reference in New Issue