Created
September 9, 2013 04:03
-
-
Save eedeep/6491342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias efo | |
efo | |
runserver | |
127.0.0.1:8000 | |
cd ~/projects | |
mkdir mysqldumped | |
cd mysqldumped | |
virtualenv --no-site-packages mysqldumped-env | |
source mysqldumped-env/bin/activate | |
git clone git@github.com:eedeep/mysqldumped.git | |
psql -Upostgres | |
create database efodb; | |
create user efodb with password 'efodb'; | |
psql -Uefodb -W efodb | |
\d | |
\q | |
which py-mysql2pgsql | |
py-mysql2pgsql -h | |
py-mysql2pgsql -v -f config/efo.yml | |
efo | |
vi requirements/base.txt | |
+psycopg2==2.5 | |
pip install -r requirements/project.txt | |
vi local_settings.py | |
"ENGINE": "django.db.backends.postgresql_psycopg2", | |
"PORT": "5432", | |
sudo service mysql stop | |
runserver | |
http://127.0.0.1:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment