This repository gets a working instance of the SciCat metadata catalogue up and running.
- git
- Docker
- docker-compose
- Make
Build by entering the directory and executing
make
This will:
- Fetch the latest master revision of Catamel and Catanie from GitHub, placing them in
catanie/catanieandcatamel/catamelrespectively. - Build Docker images for Catanie, Catamel, MongoDB and a small helper to create a text index in the database.
Start developing by executing
make run-hot
This will mount the local source code folder (src) of Catanie, enabling hot reloading of code changes. Note that changes to anything outside this folder, e.g. node_modules, requires a rebuild.
Run
make data
to create and insert mock data (Datasets, Proposals etc.) This is done over the Catamel API, so the application needs to be running.
Run without hot reloading, i.e. as static Docker images:
make run
Other:
make stop
make clean
- Make catamel support hot reloading
- Support testing in frontend