Skip to content
Brian Bolt edited this page Apr 10, 2024 · 3 revisions

ACAS Dev quick setup

acas_logo_30px

Docker settings

Change Docker Memory Settings Once you have Docker installed, go to "Preferences" > "Resources" and increase the memory to 12GB or 8GB

Checkout mcneilco/acas which should default to the latest release/2023.2.x branch

git clone [email protected]:mcneilco/acas.git

Edit the .env file to set the ACAS_TAG to release-2023.2.x (docker-compose.yml uses this to pull the correct image from docker hub)

ACAS_TAG=release-2023.2.x

Run docker-compose

docker-compose up -d

Run the setup script (once acas is up)

curl localhost:3001/api/systemTest/getOrCreateACASBob
curl localhost:3001/api/systemTest/getOrCreateGlobalProject
curl localhost:3001/api/systemTest/getOrCreateGlobalProjectRole
curl localhost:3001/api/systemTest/giveBobRoles

Login to ACAS

bob/secret

Debug R Code

Edit the R code that you think is causing the problem and add

saveSession('/tmp/blah')

Run the function or script that you think is causing the problem. This will save the R session to /tmp/blah

Exec into the R container

docker-compose exec -it rservices R

Load the session

loadSession('/tmp/blah')