Skip to content

Commit

Permalink
Change bin/console db:install to new bin/init db:install
Browse files Browse the repository at this point in the history
* Reword the `update` help text
  • Loading branch information
NicolasCARPi committed Jul 29, 2023
1 parent 2b90bbd commit 7924879
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for elabctl

## Version 3.5.0

* Change `bin/console db:install` to new `bin/init db:install`
* Reword the `update` help text

## Version 3.4.0

* Add `DUMP_DELETE_DAYS` variable (defaults to +0) to remove old mysql backup files after generating a dump (fix elabftw/elabftw#4285)
Expand Down
6 changes: 3 additions & 3 deletions elabctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/elabftw/elabctl/
# © 2022 Nicolas CARPi @ Deltablot
# License: GPLv3
declare -r ELABCTL_VERSION='3.4.0'
declare -r ELABCTL_VERSION='3.5.0'

# default backup dir
declare BACKUP_DIR='/var/backups/elabftw'
Expand Down Expand Up @@ -167,7 +167,7 @@ function help
start Start the containers
stop Stop the containers
uninstall Uninstall eLabFTW and purge data
update Get the latest version of the containers
update Pull the image defined, restart containers and update database schema
update-db-schema Update the MySQL database schema
version Display elabctl version
"
Expand All @@ -187,7 +187,7 @@ function info
function initialize
{
is-installed
docker exec -it "${ELAB_WEB_CONTAINER_NAME}" bin/console db:install
docker exec -it "${ELAB_WEB_CONTAINER_NAME}" bin/init db:install
}

# install pip and docker-compose, get elabftw.yml and configure it with sed
Expand Down

0 comments on commit 7924879

Please sign in to comment.