Skip to content

Commit

Permalink
Merge pull request #16 from Shaggs/master
Browse files Browse the repository at this point in the history
Minor change and comments.. Password security
  • Loading branch information
hiramvillarreal committed Feb 13, 2018
2 parents 23f0ceb + bbd0bf6 commit 44c5f62
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
16 changes: 11 additions & 5 deletions install.sh
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 :)"
8 changes: 6 additions & 2 deletions iotstock/src/ui/edituser_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@
<item row="5" column="0">
<widget class="QLineEdit" name="editUsersName"/>
</item>
<item row="3" column="0">
<widget class="QLineEdit" name="editUsersPassword"/>
<item row="3" column="0">
<widget class="QLineEdit" name="editUsersPassword">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_15">
Expand Down

0 comments on commit 44c5f62

Please sign in to comment.