Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Deploy to a staging server #40

Open
1 of 2 tasks
damianmarti opened this issue Jan 9, 2022 · 9 comments
Open
1 of 2 tasks

Deploy to a staging server #40

damianmarti opened this issue Jan 9, 2022 · 9 comments
Assignees

Comments

@damianmarti
Copy link
Member

damianmarti commented Jan 9, 2022

@Dhaiwat10
Copy link
Member

I can take care of deploying the frontend but I am not sure about the server config. (cookies etc) I can give it a try though. Where do we want to deploy this? Heroku? Vercel?

@damianmarti
Copy link
Member Author

I don't have any preference about it. I usually use surge for the frontend because a like the simplicity from surge, but deploy it where you want.

For the server is up to you too. Heroku is ok. I never used Versel, but I think that is ok too. I think the most simpler, the best. I think that is not any uncommon config for it. We can use mongodb from mongodb.com.

@Dhaiwat10 Dhaiwat10 self-assigned this Jan 11, 2022
@Dhaiwat10
Copy link
Member

Using surge seems a bit tricky because next export doesn't seem to be working:

info  - No "exportPathMap" found in "next.config.js". Generating map from "./pages"
Error: Image Optimization using Next.js' default loader is not compatible with `next export`.
  Possible solutions:
    - Use `next start` to run a server, which includes the Image Optimization API.
    - Use any provider which supports Image Optimization (like Vercel).
    - Configure a third-party loader in `next.config.js`.
    - Use the `loader` prop for `next/image`.
  Read more: https://nextjs.org/docs/messages/export-image-api
    at /Users/dhaiwat/code/recruiter.party/node_modules/next/dist/export/index.js:257:23
    at async Span.traceAsyncFn (/Users/dhaiwat/code/recruiter.party/node_modules/next/dist/telemetry/trace/trace.js:60:20)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@Dhaiwat10
Copy link
Member

Thoughts on using Vercel for this? We would have to install it for the Moonshot org. I could try deploying from personal account using a fork.

@Dhaiwat10
Copy link
Member

Re. the server, I think Heroku should do the trick? @QEDK any thoughts on that?

@damianmarti
Copy link
Member Author

Thoughts on using Vercel for this? We would have to install it for the Moonshot org. I could try deploying from personal account using a fork.

Do you know where the old code was deployed? cc/ @QEDK

@damianmarti
Copy link
Member Author

Re. the server, I think Heroku should do the trick? @QEDK any thoughts on that?

Yes, Heroku is ok. Google Cloud is another option.

@QEDK
Copy link
Member

QEDK commented Jan 16, 2022

Re. the server, I think Heroku should do the trick? @QEDK any thoughts on that?

Yes, Heroku is ok. Google Cloud is another option.

We can redeploy this on Heroku, should be relatively simple, for the frontend I would prefer something else ofc, but anything goes. Maybe a good time to resume discussions to have an unified platform for our frontend builds across MC.

@Dhaiwat10
Copy link
Member

Let's discuss this in tomorrow's call

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants