Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
4f91c5ca
Commit
4f91c5ca
authored
3 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Clean-up README_SETUP.md
parent
1c912d1c
No related branches found
No related tags found
1 merge request
!22
Release 0.3
Pipeline
#15570
passed
3 years ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README_SETUP.md
+15
-14
15 additions, 14 deletions
README_SETUP.md
with
15 additions
and
14 deletions
README_SETUP.md
+
15
−
14
View file @
4f91c5ca
...
...
@@ -8,14 +8,16 @@ git clone 'https://gitlab.com/caosdb/caosdb-advanced-user-tools'
```
## Dependencies
Dependencies will be installed automatically if you use the below described procedure.
-
`caosdb>=0.4.0`
Dependencies will be installed automatically if you use the below described
procedure.
-
`caosdb>=0.6.0`
-
`openpyxl>=3.0.0`
-
`xlrd>=1.2.0`
-
`pandas>=1.2.0`
-
`pandas>=1.2.0`
-
`numpy>=1.17.3`
If you want to use the optional h5-crawler the following dependencies will be installed additionally:
If you want to use the optional h5-crawler the following dependencies will be
installed additionally:
-
`h5py>=3.3.0`
For testing:
...
...
@@ -35,16 +37,15 @@ Optional h5-crawler:
## Run Integration Tests Locally
1.
Change directory to
`integrationtests/`
.
2.
Mount
`extroot`
to the folder that will be used as
extroot. E.g.
`sudo mount -o bind extroot
../../caosdb-deploy/profiles/empty/paths/extroot`
(or whatever path
the extroot of the empty profile to be used is located at).
3.
Start (or restart) an empty (!) CaosDB instance (with the mounted extroot).
The database will be cleared during testing, so it's important to use
an empty instance.
Make sure your configuration for the python caosdb module is correct and
allows to connect to the server.
4.
Run
`test.sh`
. Note that this may modify content of the
`integrationtest/extroot/`
directory.
2.
Mount
`extroot`
to the folder that will be used as extroot. E.g.
`sudo mount
-o bind extroot ../../caosdb-deploy/profiles/empty/paths/extroot`
(or
whatever path the extroot of the empty profile to be used is located at).
3.
Start (or restart) an empty (!) CaosDB instance (with the mounted
extroot). The database will be cleared during testing, so it's important to
use an empty instance. Make sure your configuration for the python caosdb
module is correct and allows to connect to the server.
4.
Run
`test.sh`
. Note that this may modify content of the
`integrationtest/extroot/`
directory.
## Code Formatting
`autopep8 -i -r ./`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment