Skip to content

Commit

Permalink
Move backend to api directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexryabtsev committed Mar 22, 2019
1 parent 5b0abd8 commit 40b6ce3
Show file tree
Hide file tree
Showing 34 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -8,4 +8,4 @@ max_line_length = 120

[pylava:pylint]
max_line_length = 120
load-plugins = pylint_django
load-plugins = pylint_django
File renamed without changes.
5 changes: 3 additions & 2 deletions startproject
Expand Up @@ -117,8 +117,8 @@ rm -rf ${TMP}

### Replace variables in files with real values ################################
find . -type f | xargs sed -i "" -e "s/{{ project_name }}/${NAME}/g; s/{{ django_version }}/${DJANGO_VERSION}/g; s/{{ doc_version }}/${DOC_VERSION}/g; s/{{ project_upper_name }}/${UPPER_NAME}/g"
mv project_name/settings/project_name.py project_name/settings/${NAME}.py
mv project_name ${NAME}
mv api/project_name/settings/project_name.py api/project_name/settings/${NAME}.py
mv api/project_name api/${NAME}
find . -type f -name Pipfile | xargs sed -i "" -e "s/{{ python_version }}/${PYVER}/"

clear
Expand Down Expand Up @@ -156,6 +156,7 @@ case ${TMPL} in
esac

if [ -n $(command -v pipenv) ]; then
cd api
pipenv --python ${PYVER} install --dev
CONSOLE_MSG_FINISH=${MSG_FINISH}
else
Expand Down

0 comments on commit 40b6ce3

Please sign in to comment.