Skip to content

Commit e44e17a

Browse files
committed
1차 릴리즈를 위한 파일 정리
1 parent c2b3ac7 commit e44e17a

6 files changed

Lines changed: 10 additions & 77 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ __pycache__
1111
# testcode
1212
.pytest_cache
1313
.coverage
14-
cov_html
14+
cov_html
15+
16+
# database
17+
migrations

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ GREEN=\033[1;32;40m
22
RED=\033[1;31;40m
33
NC=\033[0m # No Color
44

5+
database:
6+
@bash -c "echo -e \"${GREEN}[db orm 시작]${NC}\""
7+
python manage.py db init
8+
python manage.py db migrate
9+
python manage.py db upgrade
10+
511
test:
612
@bash -c "echo -e \"${GREEN}[pytest 시작]${NC}\""
713
pipenv run pytest app/tests --cov-report=html:cov_html --cov-report=term --cov=app

app/users/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
API = Namespace('Users', description="User's RESTPlus - API")
1515
USERS_SCHEMA = UsersSchema()
1616

17-
1817
@API.route('s')
1918
class UsersAuth(Resource):
2019
parser = reqparse.RequestParser()
@@ -40,7 +39,6 @@ def post(self):
4039
user = Users(args_['user_id'], hash_pw, args_['user_email'])
4140
return user.add(user, USERS_SCHEMA)
4241

43-
4442
@API.route('/auth')
4543
class UserAuth(Resource):
4644
parser = reqparse.RequestParser()

migrations/versions/bb32b366dab2_.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

migrations/versions/d8019933f2c3_.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)