Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for quick start usage #373

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading