stateofdev.ma icon indicating copy to clipboard operation
stateofdev.ma copied to clipboard

dockerize dev env.

Open djalal opened this issue 1 year ago • 2 comments

small contribution to add a docker quickstart, worked for me, so I thought of sharing it

djalal avatar Nov 22 '23 18:11 djalal

@djalal I am not sure if this is enough to make the project work correctly. Maybe the static part should work in this, But I'm afraid that this setup didn't include running the serverless functions we use to submit survey results.

We are using Netlify Cli (for now) to make sure serverless functions work as expected in the dev mode by renting yarn netlify dev

yjose avatar Nov 23 '23 14:11 yjose

@yjose

I did not include the serverless part indeed, it should not be hard to enable though. If you have further pointers on netlify, because I found no instructions how to setup the dev env. for Netlify in the README.

However it's already useful for frontend dev or general testing. Should we do two PRs or all in one?

djalal avatar Nov 23 '23 16:11 djalal