Using docker for local development #157
Closed
MarcKaufmann
started this conversation in
General
Replies: 2 comments 1 reply
-
I get an error and I'm scared to mess something up trying to fix it |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing as the instructions are now part of the documentation - see https://docs.totalinsightmanagement.com/install-congame.html. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since
#lang conscript/local
requires reimplementing lots of code, we are moving to docker instead to run congame on your machine for local development.The following is how you can use it (it works on my machine):
Dockerfile.local
is (among many others)docker compose up
(make sure you are on a fast and stable internet connection before you do this)localhost:5100
, so go to that url in your browser and you should see the congame homepage that you know and loveNow you can use this to upload studies manually. We are working on making that process more pleasant, but it's not there yet.
When you want to stop the server, hit
ctrl-c
where you randocker compose up
, or in your docker app you can start and stop the process as well in the future. Runningdocker compose up
(from the command line or in the app) is near instantaneous once you have built it. Future updates may require that you rebuild, but even that should be substantially faster as not everything needs to be downloaded.If you have questions on how to use it, or problems with any step, ask here - there are many steps where things can go wrong.
@otherjoel : Feel free to update or fix the recipe above. Once we have the easiest (one using the terminal less), we should add that to the documentation. It's fine to not document the docker stuff, but link to docker resources.
Beta Was this translation helpful? Give feedback.
All reactions