Lighthouse Labs final project: Data visualization of the Kepler system using threeJS and Django.
You should install Python v3.4.3. Run the following to check if it is installed (and to check which version):
python --versionIf Python is not installed, click here for instructions on how to install.
Install pip packages installer by visiting the official site.
Virtualenv enables multiple side-by-side installations of Python, one for each project.
pip install virtualenvOnce you have virtualenv installed, just fire up a shell and create your own environment:
mkdir myproject
cd myproject
virtualenv envNow, whenever you want to work on a project, you only have to activate the corresponding environment:
Unix Systems: source env/bin/activateTo exit the virtual environment:
deactivate##While in virtualenv
After you have installed Python and Pip (or Virtual Env), run the following code to "bundle install" all the packages:
pip install -r requirements.txtIf you want to add any packages, do the following:
pip install pkg_name
pip freezeCopy exactly the line of the package you just installed from the Terminal into this requirements.txt
###Set up the Database
python manage.py migrate
python manage.py migrate kepler_exoplanets
./manage.py generate_dataTo run the server, type the following into your terminal:
python manage.py runserverGo to localhost:8000 in your browser.
Absolutely! We want you to find value in what we've produced, so feel free to download the code, or bits of it, and have fun with it!