Skip to content

Commit

Permalink
Merge pull request #7 from djinnome/patch-1
Browse files Browse the repository at this point in the history
Instructions for generating a personal access token
  • Loading branch information
1fish2 authored Nov 18, 2020
2 parents 457e914 + 6815517 commit 7e4cc9e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ You can reach us at [AllenCenterCovertLab](mailto:[email protected]

See [docs/README.md](docs/README.md) for more info on setting up and running the model.

In short, there are two alternative setups to run the model: inside a Docker container vs. in a manually constructed `pyenv` virtual environment. With Docker, you can start running a simulation with three commands:
In short, there are two alternative setups to run the model: inside a Docker container vs. in a manually constructed `pyenv` virtual environment. With Docker, you can start running a simulation with these steps:
1. Create a [github personal access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) with at least the `read:packages` permission selected.
1. Place the token in `github_personal_access_token.txt`.
1. Log in to `docker.pkg.github.com`:
```bash
cat github_personal_access_token.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin
```
You should see an output message like `Login Succeeded`
1. Pull the Docker image:
```shell script
docker pull docker.pkg.github.com/covertlab/wholecellecolirelease/wcm-full:latest
Expand All @@ -23,6 +30,7 @@ In short, there are two alternative setups to run the model: inside a Docker con
python runscripts/manual/runSim.py
```


## Quick start

When running this code, prepare with these steps (the wcm-full Docker container already prepares this for you):
Expand Down

0 comments on commit 7e4cc9e

Please sign in to comment.