Files for running SciCat with docker-compose.
- Clone the repository
git clone https://github.com/SciCatProject/scicatlive.git
- Run with the following command inside the directory
docker-compose up -d
- SciCat will now be available on http://localhost. The Loopback API explorer of catamel is available at http://localhost/explorer/, the one for the search-api at http://localhost/panosc-explorer/.
- Add your local configuration to config.local.js
- Uncomment the
volumes:
line and the line containingconfig.local.js
in the catamel service section in docker-compose.yaml (if commented) - Restart the docker containers
- Add your LDAP configuration to providers.json
- Uncomment the
volumes:
line and the line containingproviders.json
in the catamel service section in docker-compose.yaml - Restart the docker containers
There are a few functional accounts available for handling data:
Username | Password | Usage |
---|---|---|
admin | 2jf70TPNZsS | Admin |
ingestor | aman | Ingest datasets |
archiveManager | aman | Manage archiving of datasets |
proposalIngestor | aman | Ingest proposals |
All files used in the seeding of the database are in the seed folder.
To add more collections during the creation of the database:
- add the corresponding file(s) there, keeping the convention:
filename := collectionname.json
. - Restart the docker container.
These files are ingested into the database using mongo funcionalities and bypassing the catamel backend, i.e. they are not to be taken as examples to use the catamel API.
To use scicat, please refer to the original documentation