Skip to content

Commit

Permalink
fixes for quick start usage (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey authored Jun 17, 2024
1 parent b50b903 commit 80158bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Launch a Codespaces environment by clicking the banner __["Open in GitHub Codesp

Make sure you have Python 3 and Pip installed, then:

1. Run install: `$ ./build.sh --nolint` from source tree OR install from pypi: `$ pip install hsds`
1. Run install: `$ ./build.sh --no-lint --no-docker` from source tree OR install from pypi: `$ pip install hsds`
2. Create a directory the server will use to store data, example: `$ mkdir ~/hsds_data`
3. Start server: `$ hsds --root_dir ~/hsds_data`
4. Run the test suite. In a separate terminal run:
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ run_pyflakes=1
run_docker=1
if [ $# -gt 0 ]; then
if [ $1 == "-h" ] || [ $1 == "--help" ]; then
echo "Usage: build.sh [--nolint | --no-docker]"
echo "Usage: build.sh [--no-lint | --no-docker]"
exit 1
fi
if [ $1 == "--nolint" ]; then
if [ $1 == "--no-lint" ]; then
echo "no pyflakes"
run_pyflakes=
fi
Expand Down
4 changes: 2 additions & 2 deletions tests/integ/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# or 'http+unix://%2Ftmp%2Fhs%2Fsn_1.sock' for socket
"user_name": "test_user1",
"user_password": "test",
"user2_name": "test_user2",
"user2_password": "test",
"user2_name": "",
"user2_password": "",
"admin_username": "",
"admin_password": "",
"test_noauth": True,
Expand Down

0 comments on commit 80158bb

Please sign in to comment.