Skip to content

Commit 0cd2a2e

Browse files
committed
Installation instructions. Related to #55
1 parent f480087 commit 0cd2a2e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ The paper is available here:
2222
http://www.scag.ca.gov/Documents/PopulationSynthesizerPaper_TRB.pdf
2323

2424
.. _PopGen: http://urbanmodel.asu.edu/popgen.html
25+
26+
# Installation
27+
28+
```
29+
virtualenv venv --python=python3.7
30+
source venv/bin/activate
31+
pip install -r requierements.txt
32+
cd synthpop/
33+
python setup.py develop
34+
```
35+
To run `Synthpop` you need a Census API that you can get one from [here](https://api.census.gov/data/key_signup.html). After you get and validate the API key you can add it as an enviromental variable to your environment as by adding to `/venv/bin/activate` the following line:
36+
`export CENSUS='yourApiKey'`

0 commit comments

Comments
 (0)