Auto login system in University of Miyazaki.
Please install Python3.6.6 in advance. Don't work Python3.7 for Windows.
- Open PowerShell with Administrator.
- Run
pip install pipenv
- Run
git clone --depth=1 https://github.com/korosuke613/miyadai-sso-auto-login.git
- Run
cd miyadai-sso-auto-login
- Run
pipenv install
- Run
pipenv run python ./save_pass.py
- Run
pipenv run python ./miyadai_login.py
- Perform clone setting.(参照: Windowsで定期自動ログインする )
- Open terminal.
- Run
sudo pip install secretstorage
- Run
sudo pip install pipenv
- Run
git clone --depth=1 https://github.com/korosuke613/miyadai-sso-auto-login.git
- Run
cd miyadai-sso-auto-login
- Run
pipenv install
- Run
pipenv run python ./save_pass.py
- Run
pipenv run python ./miyadai_login.py
- Perform clone setting.(参照: Ubuntuで定期自動ログインする )
If you want to run headless, install Xvfb (Run sudo apt install xvfb
)
- Open terminal
- Run
sudo apt install libffi-dev
- Run
sudo pip install cffi
- Run
sudo pip install secretstorage
- Run
sudo pip install pipenv
- Install chromedriver
- Run
sudo apt install chromium-chromedriver
- If the above is OK, next 7
- Else, run
wget https://github.com/electron/electron/releases/download/v1.6.0/chromedriver-v2.21-linux-armv7l.zip
- Run
unzip chromedriver-v2.21-linux-armv7l.zip -d /open/your/path/chromedriver
- Run
- Run
git clone --depth=1 https://github.com/korosuke613/miyadai-sso-auto-login.git
- Run
cd miyadai-sso-auto-login
- Edit 17 line to
driver_path = "/path/in/your/chromedriver/chromedriver"
in miyadai_login_in_raspbian.py - Run
pipenv --python 3.6.6 install
- If the above is TIMEOUT, run
export PIPENV_TIMEOUT=500
and rerun the above command
- If the above is TIMEOUT, run
- Run
pipenv --python 3.6.6 install
- Run
pipenv install selenium
- Run
pipenv run python ./save_pass_in_raspbian.py
- Run
pipenv run python ./miyadai_login_in_raspbian.py
- If you want to run headless, run
xvfb-run pipenv run python ./miyadai_login_in_raspbian.py
- If you want to run headless, run
- Perform clone setting.(参照: Ubuntuで定期自動ログインする
)
- You should edit
pipenv run python ./miyadai_login.py >>./cron_log.txt 2>>./error-log.txt
topipenv run python ./miyadai_login_in_raspbian.py >>./cron_log.txt 2>>./error-log.txt
orxvfb-run pipenv run python ./miyadai_login_in_raspbian.py >>./cron_log.txt 2>>./error-log.txt
in croning.sh
- You should edit