Added python spec stuff
This commit is contained in:
parent
25e23921b3
commit
fa131dbc81
|
@ -61,20 +61,20 @@ cp -r %{_gitdir}/rpm/scripts/shelfzilla $RPM_BUILD_ROOT%{_app_dir}/init/
|
||||||
#rmdir %{_app_dir}/init/
|
#rmdir %{_app_dir}/init/
|
||||||
|
|
||||||
## Npm install
|
## Npm install
|
||||||
#cd %{_app_dir} && npm install --production
|
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
|
||||||
|
|
||||||
## Migrate
|
## Migrate
|
||||||
#python2.7 %{_app_dir}/manage.py migrate --no-initial-data
|
python2.7 %{_app_dir}/manage.py migrate --no-initial-data
|
||||||
|
|
||||||
## Bower
|
## Bower
|
||||||
#cd %{_app_dir}
|
cd %{_app_dir}
|
||||||
#bower install --allow-root
|
bower install --allow-root
|
||||||
|
|
||||||
## Collect static
|
## Collect static
|
||||||
#python2.7 manage.py collectstatic --clear --noinput
|
python2.7 manage.py collectstatic --clear --noinput
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------- #
|
# -------------------------------------------------------------------------------------------- #
|
||||||
# pre-uninstall section:
|
# pre-uninstall section:
|
||||||
|
@ -101,5 +101,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_app_dir}/*
|
%{_app_dir}/*
|
||||||
%{_app_dir}/.bowerrc
|
%{_app_dir}/.bowerrc
|
||||||
%{_init_path/shelfzilla
|
%{_init_path/shelfzilla
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue