Gerapy / Gerapy

Distributed Crawler Management Framework Based on Scrapy, Scrapyd, Django and Vue.js
https://docs.gerapy.com/
MIT License
3.32k stars 639 forks source link

Regarding the issue that Django’s migration command can only generate sqlite files locally #295

Open waiyuchan opened 7 months ago

waiyuchan commented 7 months ago

I modified my settings and changed the sqlite in the database to mysql, but it didn't seem to take effect.

The sqlite folder was still generated locally.

Actually, I expected was that the system data could be stored in mysql.

waiyuchan commented 7 months ago

The temporary solutions I have found so far are:

  1. Enter the site-package of the python environment;
  2. Find gerapy and modify settings.py;
  3. Convert the DB configuration from sqlite to mysql.