GithubHelp home page GithubHelp logo

39a's Introduction

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

39a's People

Contributors

skytland avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.