-
Notifications
You must be signed in to change notification settings - Fork 13
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 #651 from oist/develop-main
Develop main
- Loading branch information
Showing
322 changed files
with
11,011 additions
and
5,297 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
version: "3" | ||
|
||
services: | ||
db: | ||
image: mysql:8.4 | ||
ports: | ||
- "127.0.0.1:13306:3306" | ||
env_file: | ||
- studio/config/.env | ||
volumes: | ||
- db_data:/var/lib/mysql | ||
environment: | ||
TZ: Asia/Tokyo | ||
healthcheck: | ||
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 3 | ||
|
||
studio-dev-be: | ||
build: | ||
context: . | ||
dockerfile: studio/config/docker/Dockerfile.dev | ||
working_dir: /app | ||
volumes: | ||
- .:/app | ||
# optinist data outputs directories | ||
- ../optinist-docker-volumes/.snakemake/:/app/.snakemake | ||
- ../optinist-docker-volumes/logs/:/app/logs | ||
- ../optinist-docker-volumes/studio_data/:/app/studio_data | ||
ports: | ||
- "127.0.0.1:8000:8000" | ||
command: > | ||
bash -c " | ||
alembic upgrade head && | ||
poetry run python main.py --reload --host 0.0.0.0 --port 8000 | ||
" | ||
environment: | ||
PYTHONPATH: /app/ | ||
TZ: Asia/Tokyo | ||
OPTINIST_DIR: /app/studio_data | ||
depends_on: | ||
db: | ||
condition: service_healthy | ||
|
||
studio-dev-fe: | ||
image: node:20.8.0-alpine3.18 | ||
working_dir: /app/frontend | ||
volumes: | ||
- ./frontend/:/app/frontend/:cached | ||
ports: | ||
- "127.0.0.1:3000:3000" | ||
command: ash -c 'yarn install && yarn start' | ||
environment: | ||
TZ: Asia/Tokyo | ||
|
||
volumes: | ||
db_data: |
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
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,12 @@ | ||
## Documentation | ||
|
||
### Sphinx | ||
Make HTML using Sphinx. Used to see changes made when updating readthedocs. | ||
- [Sphinx documentation](https://docs.readthedocs.io/en/stable/config-file/v2.html) | ||
|
||
1. `cd docs` | ||
2. `pip install -r requirements.txt` | ||
3. `make html` | ||
4. Open the generated HTML: | ||
- Mac: `open _build/html/index.html` | ||
- Windows: `start _build/html/index.html` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.