- Python > 2.7
- virtualenv
sudo apt-get install virtualenv
- MySql Server
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev
- Clone this project and make a container dir for this:
mkdir prev
mv Extraccion_Minera prev
- Then virtualize this current environment using
virtualenv /prev
pip install -r requirements.txt
mysql -u <user> -p
CREATE DATABASE <database_name>;
\q
USER=<database_username>
PASSWORD=<database_password>
NAME=<database_name>
HOST=<database_host_or_ip>
honcho run python manage.py migrate
honcho run python manage.py createsuperuser
- while into
/prev
container folder path:source bin/activate
honcho run python manage.py runserver
- You can see it, by default:
http://localhost:8000
deactivate
- or
Ctrl + C
- Working In Progress...