Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu install update #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 30 additions & 27 deletions documentation/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,49 @@

1. To set up on clean Ubuntu installation, run the following commands to intall the necessary requirements:

```
apt-get update
apt-get install git -y
apt-get install unzip -y
sudo apt-get install python-setuptools python-dev build-essential -y
apt-get install libxml2-dev -y
apt-get install libxslt1-dev -y
easy_install -U setuptools
apt-get install python-pip
pip install lxml
pip install requests
```
```
apt-get update
apt-get install git unzip python-setuptools python-dev build-essential libxml2-dev libxslt1-dev libz-dev setuptools python-pip -y
```

2. Clone this repo locally using the `git clone` command. This requires a Github account.
```
git clone [email protected]:HHS/pillbox-data-process.git
```

3. Follow [steps for data process](https://github.com/HHS/pillbox-data-process/tree/master/scripts#pillbox-data-process).
```
git clone [email protected]:HHS/pillbox-data-process.git
```

3. Install Python requirements for Pillbox

```
cd pillbox-data-process
cd scripts
sudo pip install -r requirements.txt
```

4. Follow [steps for data process](https://github.com/HHS/pillbox-data-process/tree/master/scripts#pillbox-data-process).

#### Setting up on Mac OSX

Latest versions of OSX come with Python 2.7 installed. To run the Pillbox process, additional packages need to be installed. This assumes [Xcode](https://developer.apple.com/xcode/downloads/) & command line tools are installed. If not, install Xcode first.

1. Install pip
```
sudo easy_install pip
```

```
sudo easy_install pip
```

2. Clone this repo locally using `git clone`. This requires a Github account.

```
git clone [email protected]:HHS/pillbox-data-process.git
```
```
git clone [email protected]:HHS/pillbox-data-process.git
```

3. Install Python requirements for Pillbox
```
cd pillbox-data-process
cd scripts
sudo pip install -r requirements.txt
```

```
cd pillbox-data-process
cd scripts
sudo pip install -r requirements.txt
```

4. Follow [steps for data process](https://github.com/HHS/pillbox-data-process/tree/master/scripts#pillbox-data-process).