Skip to content

Commit

Permalink
feature: make the admin user admin in the provisioning steps
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jun 5, 2024
1 parent 487be72 commit f395921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ if [ "$PROVISION" = true ]; then
commands=(
'docker compose down --volumes > /dev/null 2>&1'
'docker compose run --rm 4store bash -c "4s-backend-setup ontoportal_kb" '
'docker compose run --rm ncbo_cron bundle exec rake user:create[admin,admin@nodomain.org]'
'docker compose run --rm ncbo_cron bundle exec rake user:create[admin,admin@nodomain.org,password]'
'docker compose run --rm ncbo_cron bundle exec rake user:adminify[admin]'
"docker compose run --rm ncbo_cron bundle exec 'bin/ncbo_ontology_import --admin-user admin --ontologies $STARTER_ONTOLOGY --from-apikey $API_KEY --from $API_URL'"
"docker compose run --rm ncbo_cron bundle exec 'bin/ncbo_ontology_pull -o $STARTER_ONTOLOGY'"
"docker compose run --rm ncbo_cron bundle exec 'bin/ncbo_ontology_process -o ${STARTER_ONTOLOGY}'"
Expand Down

0 comments on commit f395921

Please sign in to comment.