python - Set up a Django Project with Mamp? -
i downloaded newer version of mamp (3.2.1) , noticed version has python installed , seems handle sqlite databases.
shouldn't able manage django projects it?
where , how install it?
i found posts in web (before new mamp release) people trying mamp + django work mysql seemed more complicated me usual setup virtualenv + sqlite/postgres. i'm pretty new django starting project @ time seems quite simple me.
if django work mamp advantages?
has experiences or useful links?
ok gues working mamp mysql has advantage can easy import/export database php myadmin tool. anyway based on tanorix answer here how me django worked mamp mysql database:
databases = { 'default': { 'engine': 'django.db.backends.mysql', 'name': 'projectdb', 'user': 'root', 'password': 'root', 'host': '/applications/mamp/tmp/mysql/mysql.sock', 'port': '8888', } }
then
python manage.py migrate
Comments
Post a Comment