Skip to content

linhgoes/disastermath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disaster Math

Instructions

First, you'll need to clone the repo.

$ git clone [email protected]:codeforamerica/disastermath.git
$ cd disastermath

Second, let's download pip, virtualenv, and the DotCloud CLI.

$ sudo easy_install pip
$ pip install virtualenv
$ pip install dotcloud

Now, you can setup an isolated environment with virtualenv.

$ virtualenv --no-site-packages env
$ source env/bin/activate

Then, let's get the requirements installed in your isolated test environment.

$ pip install -r requirements.txt

Now, you can run the application locally.

$ python bootstrap.py

To upload your application to DotCloud, you'll first need to do the following:

$ dotcloud create <my_application_name>
$ dotcloud push <my_application_name> .

This should return a URL, and you can then view your application in your web browser of choice.

And, to deactivate virtualenv (once you've finished coding), you simply run the following command:

$ deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published