-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from djinnome/patch-1
Instructions for generating a personal access token
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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): | ||
|