Patrick Delaney
Patrick Delaney
1. Need to delete the copy and re-create .env.dev into .env. 2. Troubleshooting for development - Building and rebuilding images
1. Remember to mention that if port changes are made, (e.g. new development environment used), need to change .env.dev file, REACT_PORT, HOST_PORT, NGinx, Dockerfiles Expose, appropriate commands, and then rebuild...
Nginx rebuild ... use nginx.conf.template rather than nginx.conf to update ports.
CORES: ``` // CORS handler c := cors.New(cors.Options{ AllowedOrigins: []string{"http://localhost:3000", "https://brierfoxforecast.ngrok.app", "http://localhost:8089"}, AllowedMethods: []string{"GET", "POST", "OPTIONS"}, AllowedHeaders: []string{"Content-Type", "Authorization"}, }) ``` Need to change localhost:3000 to localhost:{FRONTEND_DOMAIN}
Hey first off, thanks for your continual suggestions. I don't understand because my background in React and frontend is very limited. How does this relate to how we currently have...
Further to this issue, we should use int or int64 rather than uint. Re: https://stackoverflow.com/questions/63105394/in-go-when-should-you-use-uint-vs-int Using uint is only saving us one bit for every entry, we probably don't need...
There probably needs to be a couple different categories of error handling utilities: 1. Http Web Errors which can percolate through to the front end. 2. Private, console errors which...
Basically this is a larger issue, we need to implement Cobra on golang and make migrations a command rather than a default function.
This will have been solved when this is merged. https://github.com/openpredictionmarkets/socialpredict/pull/61
Was solved after merge.