Relabel step 0 as step 1 in README.md since gitea hides step 0.

This commit is contained in:
Jack Yu 2023-05-18 01:52:46 -07:00
parent 2b97c87acc
commit 7c00f217b9
1 changed files with 8 additions and 8 deletions

View File

@ -44,29 +44,29 @@ Windows (without WSL), you're out-of-luck here and should proceed to the docker
instructions below. instructions below.
To use P4-in-a-Bottle with Singularity: To use P4-in-a-Bottle with Singularity:
0. Clone this repository if you haven't done so already. 1. Clone this repository if you haven't done so already.
1. Install singularity from [GitHub](https://github.com/sylabs/singularity/releases). 2. Install singularity from [GitHub](https://github.com/sylabs/singularity/releases).
2. Download a pre-built image 3. Download a pre-built image
[p4iab.sif](https://git.inkweaver.net/inkweaver/P4-in-a-Bottle/releases) [p4iab.sif](https://git.inkweaver.net/inkweaver/P4-in-a-Bottle/releases)
and place it in the same directory alongside `README.md`. If you skip this and place it in the same directory alongside `README.md`. If you skip this
step YOU WILL BUILD BOTH THE DOCKER CONTAINER AND THE SINGULARITY CONTAINER step YOU WILL BUILD BOTH THE DOCKER CONTAINER AND THE SINGULARITY CONTAINER
FROM SOURCE. (Trust me, you do NOT want to build this yourself). FROM SOURCE. (Trust me, you do NOT want to build this yourself).
3. Run `make sc-run`. A shared directory `shared/` will be created to allow 4. Run `make sc-run`. A shared directory `shared/` will be created to allow
you to move files between the container and your system. you to move files between the container and your system.
### Docker ### Docker
If you are stuck with docker, don't panic! The instructions are longer but If you are stuck with docker, don't panic! The instructions are longer but
everything should still work. everything should still work.
0. Clone this repository if you haven't done so already. 1. Clone this repository if you haven't done so already.
1. Install docker on your system. This should be pretty self-explanatory. 2. Install docker on your system. This should be pretty self-explanatory.
2. Download a pre-built image 3. Download a pre-built image
[p4iab.tar.gz](https://git.inkweaver.net/inkweaver/P4-in-a-Bottle/releases) [p4iab.tar.gz](https://git.inkweaver.net/inkweaver/P4-in-a-Bottle/releases)
and place it in the same directory alongside `README.md`. Then run and place it in the same directory alongside `README.md`. Then run
`docker load -i p4iab.tar.gz && touch .docker_build`. `docker load -i p4iab.tar.gz && touch .docker_build`.
If you skip this step YOU WILL BUILD THE DOCKER CONTAINER FROM SOURCE. Do If you skip this step YOU WILL BUILD THE DOCKER CONTAINER FROM SOURCE. Do
so only if you know what you are doing. so only if you know what you are doing.
3. Run `make run`. A shared directory `shared/` will be created to allow 4. Run `make run`. A shared directory `shared/` will be created to allow
you to move files between the container and your system. you to move files between the container and your system.