This repository is made to initialize new projects with complete CI/CD process included. All You need to do is:
git clone git@github.com:Filip-231/BP-Init.git abc-test && \
cd abc-test && make git _PROJECT=abc-test _USER=Filip-231 &&\
make init LANGUAGE=django && make set-project-name _PROJECT=abc-test _USER=Filip-231 \
&& make all && make install
Fill _PROJECT with a name of you new project, and _USER with the name of your Github user.
To have access to all make commands You need to create venv:
make install
And You are good to go! Isn't this genius?
To configure pytest in Pycharm add: -p no:allure_pytest_bdd to additional parameters.
- Can be used for filtering git repo if you want to delete some files:
git filter-branch --index-filter 'git rm --ignore-unmatch --cached -qr -- . && git reset -q $GIT_COMMIT -- . ' --prune-empty -- --all
- Can be used for pulling when repo is not empty:
git pull origin master --allow-unrelated-histories