-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from Shaggs/master
Minor change and comments.. Password security
- Loading branch information
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
#!/bin/bash | ||
sudo apt-get update | ||
sudo apt-get install kdebase-runtime libqt4-dev build-essential g++ cmake gettext libqt4-sql-mysql kdelibs5-dev | ||
sudo apt-get install mysql-client mysql-server | ||
echo "installing required programs" | ||
sudo apt-get install kdebase-runtime libqt4-dev build-essential g++ cmake gettext libqt4-sql-mysql kdelibs5-dev -y | ||
echo"installing mysql" | ||
sudo apt-get install mysql-client mysql-server -y | ||
cd ~ | ||
echo "cloning iotpos" | ||
git clone https://github.com/hiramvillarreal/iotpos | ||
cd iotpos | ||
echo "begin build" | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` | ||
make | ||
echo "installing IOTPOS" | ||
sudo make install | ||
cd ~/iotpos/database_resources | ||
|
||
cat iotpos_mysql.sql | sudo mysql -u root -p | ||
echo "install complete now to setup database" | ||
cd ~/iotpos/database_resource | ||
cat iotpos_mysql.sql | sudo mysql -u root -p | ||
echo"all done :)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters