507
edits
Tag: 2017 source edit |
m (→Execute migration script: Après 20 minutes d'énervement ...) Tag: 2017 source edit |
||
| Line 884: | Line 884: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
./launcher enter | ./launcher enter web_only | ||
# Install required dependencies to import data (gems) | # Install required dependencies to import data (gems) | ||
su discourse -c | su discourse -c "export IMPORT=1; bundle config unset deployment; bundle config set path 'vendor/bundle'; bundle config set without 'test development'; bundle install --jobs 4 --no-deployment" | ||
# Run import script | # Run import script | ||
su discourse -c 'export IMPORT=1; bundle exec ruby script/import_scripts/ | su discourse -c 'export IMPORT=1; bundle exec ruby script/import_scripts/kunena3_dolibarr_de.rb' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note : | |||
====Restaure Discourse backup from command line==== | ====Restaure Discourse backup from command line==== | ||