Skip to content

Commit 01cde51

Browse files
refer to tosdr/h#1
1 parent d28a040 commit 01cde51

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ H is the Hypothesis web service and api.
110110

111111
1. To use it with Phoenix, clone [our fork of H](https://github.com/tosdr/h) into the same directory as the Phoenix clone, and `cd h/`. **The correct branch to work from is the *phoenix-integration* branch.**
112112

113+
**ATTENTION**: Due to [an issue with pip-tools](https://github.com/tosdr/edit.tosdr.org/issues/1156) you might need to use the *do-staging* branch instead.
114+
113115
**ATTENTION**: The official documentation for installing H is [here](https://h.readthedocs.io/en/latest/developing/install/). Please also consult these docs as needed.
114116

115117
Note the prerequisites:
@@ -134,8 +136,8 @@ H is the Hypothesis web service and api.
134136

135137
**If pyenv has trouble finding the python binary**, you may need to add configuration to `.zshrc`, as documented [here](https://stackoverflow.com/questions/51863225/pyenv-python-command-not-found).
136138

137-
5. `make services`, which launches the docker services needed to run H.
138-
7. `make dev`
139+
2. `make services`, which launches the docker services needed to run H.
140+
3. `make dev`
139141

140142
If this is your first time, `make dev` will install the dependencies. To do so, it requires both *node* and *yarn*.
141143

@@ -148,12 +150,12 @@ H is the Hypothesis web service and api.
148150
You will have to exit and restart `tox` whenever changes are made to the code. Additionally, in debug mode, certain functionalities may be restricted. You will not be able to create and persist annotations from the client if H is running in debug mode, for example.
149151

150152
To launch the shell and poke around in the database, run `make shell`.
151-
9. Create an admin user from the shell
153+
4. Create an admin user from the shell
152154

153155
You will need an admin user to set up OAuth between H and the Hypothesis client.
154156

155157
Follow [these instructions](https://h.readthedocs.io/en/latest/developing/administration/).
156-
7. Log in as admin, and configure OAuth
158+
5. Log in as admin, and configure OAuth
157159

158160
Instructions [here](https://h.readthedocs.io/en/latest/developing/integrating-client/).
159161

staging-deploy.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ source ~/.bashrc
3434
# Hypothesis
3535
git clone https://github.com/tosdr/h
3636
cd h
37+
git checkout do-staging
3738
echo Note this will take several minutes...
38-
pyenv install 3.8.12
39+
pyenv install 3.11.7
3940
pyenv init
40-
pyenv shell 3.8.12
41+
pyenv shell 3.11.7
42+
python -m pip install -rrequirements/dockercompose.txt
4143
make services
4244
make dev

0 commit comments

Comments
 (0)