mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [install_dep] create default user
This commit is contained in:
parent
cec58e7d79
commit
e090b664ff
1 changed files with 27 additions and 1 deletions
|
@ -99,9 +99,18 @@ if [ -z "$VIRTUAL_ENV" ]; then
|
|||
|
||||
fi
|
||||
|
||||
pushd ${AIL_BIN}/helper/gen_cert
|
||||
./gen_root.sh
|
||||
wait
|
||||
./gen_cert.sh
|
||||
wait
|
||||
popd
|
||||
|
||||
cp ${AIL_BIN}/helper/gen_cert/server.crt ${AIL_FLASK}/server.crt
|
||||
cp ${AIL_BIN}/helper/gen_cert/server.key ${AIL_FLASK}/server.key
|
||||
|
||||
pushd var/www/
|
||||
./update_thirdparty.sh
|
||||
python3 create_default_user.py
|
||||
popd
|
||||
|
||||
mkdir -p $AIL_HOME/PASTES
|
||||
|
@ -124,6 +133,23 @@ python3 setup.py install
|
|||
HOME=$(pwd) python3 -m textblob.download_corpora
|
||||
python3 -m nltk.downloader vader_lexicon
|
||||
python3 -m nltk.downloader punkt
|
||||
popd
|
||||
|
||||
#Create the file all_module and update the graph in doc
|
||||
$AIL_HOME/doc/generate_modules_data_flow_graph.sh
|
||||
|
||||
#### DB SETUP ####
|
||||
|
||||
# LAUNCH ARDB
|
||||
bash ${AIL_BIN}/LAUNCH.sh -lav &
|
||||
wait
|
||||
echo ""
|
||||
|
||||
# create default user
|
||||
pushd ${AIL_FLASK}
|
||||
python3 create_default_user.py
|
||||
popd
|
||||
|
||||
bash ${AIL_BIN}/LAUNCH.sh -k &
|
||||
wait
|
||||
echo ""
|
||||
|
|
Loading…
Reference in a new issue