pip install -r requirements.txt
./init.local.sh build
If you are using WSL see the next post and this if you hace any problem with the permissions with Xming
Export required vars
# For UNIX
export DATABASE_URL=''
export BROWSER_IP='127.0.0.1'
# For Windows(CMD) - Create vars and reset CMD
setx DATABASE_URL "anything"
setx BROWSER_IP "127.0.0.1"
Launch Browser
# Use python 3.8(equal to dockerfile)
python console.py pyppeteer:open_browser --gui
exec ./init.local.sh run --rm scraper
and afert ./console.py
.
psql -U $POSTGRES_USER -h $POSTGRES_HOST -d $POSTGRES_DB -W
- Create file
- run
aerich upgrade