Skip to content

Commit

Permalink
fixed minor bugs in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
etsardou committed Sep 23, 2015
1 parent 3908d8a commit 4363284
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
4 changes: 2 additions & 2 deletions rapp_scripts/setup/5_knowrob_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ sudo apt-get install -y python-rosinstall
sudo apt-get install -y ros-indigo-data-vis-msgs libjson-glib-dev
sudo apt-get install -y ros-indigo-rosjava-build-tools
echo "export SWI_HOME_DIR=/usr/lib/swi-prolog" >> ~/.bashrc
sudo ldconfig
source ~/.bashrc
cd ~/
mkdir -p rapp_platform/knowrob_catkin_ws
cd rapp_platform/knowrob_catkin_ws
mkdir src
cd src
sudo ldconfig
source ~/.bashrc
catkin_init_workspace

git clone https://github.com/rapp-project/knowrob.git
Expand Down
1 change: 1 addition & 0 deletions rapp_scripts/setup/9_create_rapp_mysql_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dump="/RappPlatformMySqlDbSchema.sql"
pth=$path$dump
echo -e "\e[1m\e[103m\e[31m [RAPP] MySQL RAPP database import \e[0m"

sudo touch /etc/db_credentials1
sudo printf "dummyUser\changeMe" > /etc/db_credentials1
echo "Insert MySQL root Password"
echo "Create database RappStore" | mysql -u root -p
Expand Down
34 changes: 26 additions & 8 deletions rapp_scripts/setup/clean_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,45 @@

#--------------------------------- Updates -----------------------------------#
bash ./1_system_updates.sh

sudo ldconfig
source ~/.bashrc
#-------------------------------- ROS setup ----------------------------------#
bash ./2_ros_setup.sh

sudo ldconfig
source ~/.bashrc
#------------------------ Auxiliary packages install -------------------------#
bash ./3_auxiliary_packages_setup.sh

sudo ldconfig
source ~/.bashrc
#-------------------------------Github repos setup----------------------------#
bash ./4_rosjava_setup.sh
sudo ldconfig
source ~/.bashrc

bash ./5_knowrob_setup.sh
sudo ldconfig
source ~/.bashrc

bash ./6_rapp_platform_setup.sh
bash ./7_sphinx_libraries.sh
sudo ldconfig
source ~/.bashrc

bash ./7_sphinx_libraries.sh
sudo ldconfig
source ~/.bashrc
#-------------------------------MySQLsetup------------------------------------#
bash ./8_mysql_install.sh
bash ./9_create_rapp_mysql_db.sh
bash ./10_create_rapp_mysql_users.sh
sudo ldconfig
source ~/.bashrc

sudo bash ./9_create_rapp_mysql_db.sh
sudo ldconfig
source ~/.bashrc

bash ./10_create_rapp_mysql_users.sh
sudo ldconfig
source ~/.bashrc
#-------------------------------- HOP setup ----------------------------------#
bash ./11_hop_setup.sh

#-------------------------------- Finalizing ---------------------------------#
sudo ldconfig
source ~/.bashrc

0 comments on commit 4363284

Please sign in to comment.