Python / Django test and benchmark
Initializing
First initialize the mysql database from a previous dump as we did on the PERL virtual box.
1 2 3 4 5 6 7 8 9 10 11 |
/etc/init.d/mysql start mysql -e 'show databases' [root@localhost ~]# mysql -e 'show databases' +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ |
1 2 |
mysql -e 'create database gumibomba_dev' mysql gumibomba_dev < import.sql |
Install the framework
Check for python version. And if needed install python setuptools. After it install django is very easy and can be done in 5 minutes.
… Continue reading