Original documentation can be found here: Amy Github. All documentation applies.
This is a living list of changes which this fork contains.
Building the docker image is the same as described in Amy documentation at present:
$ LAST_COMMIT=`git rev-parse --short HEAD`
$ docker build -t amy:latest -t amy:${LAST_COMMIT} --label commit=${LAST_COMMIT} -f docker/Dockerfile .
Deployment is presently done manually (vimming into file and updating version of amy image, then running docker compose up -d
). However, this can be fully automated (and will be) in a production setting using Github Actions runner on VM. In short:
/data/amy-deployment
docker-compose.yml
docker compose up -d
Presently, the test environment is running with DigitalOcean in Amsterdam.
Most of these changes are (intentionally) present within the management commands. Calling these management commands must be called from Amy's virtual environment.
In order to apply these changes to the existing env, do the following:
docker compose up -d
docker exec -it <amy container name> bash
source /venv/amy/bin/activate
python manage.py <management_command_name>
The name of the management command is the same as the filename, minus .py
. You can also request python manage.py help
to get a list of management commands.
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 101017536. The funding was awarded through the RDA (https://www.rd-alliance.org/) Open Call mechanism (https://eoscfuture-grants.eu/provider/research-data-alliance) based on evaluations of external, independent experts.