This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from notfoundsam/develop
v0.3-dev
- Loading branch information
Showing
113 changed files
with
4,402 additions
and
36,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
FROM python:2 | ||
FROM python:3 | ||
|
||
ENV TZ=Asia/Tokyo | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
COPY requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
# RUN pip3 install -U pip | ||
# RUN pip install -U setuptools | ||
# RUN pip install -U wheel | ||
|
||
RUN pip install --upgrade pip | ||
COPY requirements.txt ./ | ||
RUN pip3 install --no-cache-dir -r requirements.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ALL: up-dev | ||
build-dev: | ||
docker-compose -f docker-compose.yml build | ||
build-server: | ||
docker-compose -f docker-compose-server.yml build | ||
up-dev: | ||
docker-compose -f docker-compose.yml up -d | ||
up-server: | ||
docker-compose -f docker-compose-server.yml up -d | ||
stop: | ||
docker-compose stop | ||
migrate: | ||
docker-compose exec web flask db upgrade | ||
rollback: | ||
docker-compose exec web flask db downgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.