Skip to content

health20houston/39A

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

39A

39A is the software used to power the 2013 International Space Apps Challenge, a global hackathon focusing on space technology and issues.

Documentation can be found in the docs directory. Installation documentation is reproduced here for convenience.

Installation

Prerequisites

39A requires the following software prior to installation:

  • git
  • virtualenv
  • pip

Install the prerequisites as follows:

Ubuntu

$ sudo apt-get install build-essential python-dev git-core python-setuptools
$ sudo easy_install pip
$ sudo pip install virtualenv

OSX

$ sudo easy_install pip
$ sudo pip install virtualenv

Environment Setup

In your home directory or another location of your choosing:

$ mkdir ~/.virtualenvs
$ virtualenv ~/.virtualenvs/39A
$ git clone https://github.com/nasa/39A.git ~/39A

Activate Environment

To work with 39A, you must activate the appropriate virtual environment (per terminal environment). To do so, open a terminal:

$ source ~/.virtualenvs/39A/bin/activate
$ export SECRET_KEY="insert-random-complex-key"

Replace "insert-random-complex-key" from above with random text. A good source for this random key is https://www.grc.com/passwords.html. This process will need to be repeated whenever opening a new terminal to work with the project. You can also add the export line to the ~/.virtualenvs/39A/bin/postactivate file so that you don't need to set the key on every start of the environment.

Setup

With your environment created and activated, install dependencies and create your database:

$ cd ~/39A
$ pip install -r requirements.txt
$ cd ~/39A/spaceapps
$ python manage.py syncdb --settings=spaceapps.settings.dev
$ python manage.py migrate --settings=spaceapps.settings.dev

Running the Development Server

$ cd ~/39A/spaceapps
$ python manage.py runserver 0.0.0.0:8080 --settings=spaceapps.settings.dev

About

Fork of NASA's 39A for Space Health Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.0%
  • CSS 21.8%
  • Python 15.2%
  • Other 1.0%