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 --version
If 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 virtualenv
Once you have virtualenv installed, just fire up a shell and create your own environment:
mkdir myproject
cd myproject
virtualenv env
Now, whenever you want to work on a project, you only have to activate the corresponding environment:
Unix Systems: source env/bin/activate
To 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.txt
If you want to add any packages, do the following:
pip install pkg_name
pip freeze
Copy 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_data
To run the server, type the following into your terminal:
python manage.py runserver
Go 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!