-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Brian Bolt edited this page Apr 10, 2024
·
3 revisions
![acas_logo_30px](https://private-user-images.githubusercontent.com/868119/321305279-cba77ac8-4218-45c3-8f84-4f8d73bcf2fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzNjE2MjAsIm5iZiI6MTcyMTM2MTMyMCwicGF0aCI6Ii84NjgxMTkvMzIxMzA1Mjc5LWNiYTc3YWM4LTQyMTgtNDVjMy04Zjg0LTRmOGQ3M2JjZjJmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQwMzU1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNzJlOTIxNzM4YTVkZGNmOTA0MjYwMDNkMjlhYzc1NjhmNjFlYjU0MWE4ODAyZTIxZmJkMDc1YWFiZjRiZjAxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XsaCeuZBrCv8s6uC2d9VnSHEgeOBf65fw404_BPoYH4)
Change Docker Memory Settings Once you have Docker installed, go to "Preferences" > "Resources" and increase the memory to 12GB or 8GB
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
docker-compose up -d
curl localhost:3001/api/systemTest/getOrCreateACASBob
curl localhost:3001/api/systemTest/getOrCreateGlobalProject
curl localhost:3001/api/systemTest/getOrCreateGlobalProjectRole
curl localhost:3001/api/systemTest/giveBobRoles
bob/secret
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')