mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-05 12:16:21 +02:00
f add clearer instructions to README
This commit is contained in:
parent
87df17c2b4
commit
82c9ebd07c
@ -1,6 +1,6 @@
|
||||
# Make a Hawk compatible Auth header
|
||||
|
||||
The best way to install this is probably to set up a python virtual
|
||||
1) The best way to install this is probably to set up a python virtual
|
||||
env.
|
||||
|
||||
`python3 -m venv venv && venv/bin/pip install -r requirements.txt`
|
||||
@ -9,4 +9,16 @@ this will create a python virtual environment in the `/venv` directory.
|
||||
|
||||
*Note* You may need to install `python3-venv` for the above to work.
|
||||
|
||||
Use `-h` for help.
|
||||
Once the virtual env is installed, run `. venv/bin/activate`. This
|
||||
will ensure that calls to python and python tools happen within this
|
||||
virutal environment.
|
||||
|
||||
2) install the requirements using:
|
||||
|
||||
`venv/bin/pip install -r requirements.txt`
|
||||
|
||||
3) To create a Token Header:
|
||||
|
||||
`venv/bin/python make_hawk_token.py`
|
||||
|
||||
Use `-h` for help.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user