Skip to content

Lighthouse Labs final project: Data visualization of the Kepler system using threeJS and Django.

Notifications You must be signed in to change notification settings

fabienalbi/astronomia-nova

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explore the Kepler Exoplanets

Lighthouse Labs final project: Data visualization of the Kepler system using threeJS and Django.

Getting Ready

Python Installation

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 Installation (NOTE: only if you are not using Vagrant)

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

Installing Packages

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

Running the Project

###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.

Can I use this code?

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!

Enjoy! From Anita, Fabien, Jennifer, and Lars

About

Lighthouse Labs final project: Data visualization of the Kepler system using threeJS and Django.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 39.9%
  • JavaScript 34.8%
  • Python 18.3%
  • CSS 7.0%