Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug on dockerised environments where it was impossible to run make install against a postgres backend #4009

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ src/core/settings.py
*.sqlite*
*.db
*tar.gz
/db/postgres-data
/src/files/articles
/src/files/journals
/src/files/journal
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ command: ## Run Janeway in a container and pass through a django command passed
docker-compose run $(NO_DEPS) --rm janeway-web $(CMD)
install: ## Run the install_janeway command inside a container
touch db/janeway.sqlite3
mkdir -p db/postgres-data
docker-compose run --rm start_dependencies
bash -c "make command CMD=install_janeway"
rebuild: ## Rebuild the Janeway docker image.
Expand Down
3 changes: 0 additions & 3 deletions db/postgres-data/.gitignore

This file was deleted.