Skip to content

jintaxi/fishmart.ru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fishmart.ru

Setup sources

mkdir code; \
cd code; \
touch /var/tmp/result.txt; \
git clone https://github.com/jintaxi/fishmart.ru.git ; \
cd fishmart.ru; \
python3.9 -m venv fishmart.ru; \
source fishmart.ru/bin/activate; \
pip install -U pip; \
pip install -r requirements.txt

Setup enviroment

  • Find password for new email and insert it into .zshrc (or .bashrc) at the end of the file in variable EMAIL_PASSWD

  • vim ~/.zshrc or vim ~/.bashrc

It will look like export EMAIL_PASSWD="1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH"

  • After this reload .zshrc
source ~/.zshrc

or

source ~/.bashrc

Setup cron

Open crontab -e

Then paste this at the end of the file

*/30 * * * * /home/pi/code/fishmart.ru/fishmart.ru/bin/python /home/pi/code/fishmart.ru/main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages