Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kudos for many examples -- can you add an example of Docker Compose + CodeceptJS? #10097

Open
bionicles opened this issue Jan 14, 2020 · 3 comments
Open

Comments

@bionicles
Copy link

@bionicles bionicles commented Jan 14, 2020

Feature request

Is your feature request related to a problem? Please describe.

I want to develop NextJS locally with Docker Compose because this can run database, api, and nextjs server all with 1 command, and it's easy-ish to deploy these containersets to the cloud. Thank you for making Next and so many examples.

However it's somewhat unclear how to test nextjs locally with docker-compose (or perhaps i missed a link and this could be published more clearly)

Describe the solution you'd like

Please add an example of how you think users should test NextJS locally in docker-compose with ideally CodeceptJS

Describe alternatives you've considered

Currently working on a docker-compose file and just wanted to bring this up as you might know better how to implement such a thing quickly

Additional context

I want to use CodeceptJS because it has simple test syntax which even non-technical folks could understand, so I can focus more on development and less on figuring out how to write tests https://github.com/Codeception/CodeceptJS

Feature('CodeceptJS demo');

Scenario('check Welcome page on site', (I) => {
  I.amOnPage('/');
  I.see('Welcome');
});
@timneutkens

This comment has been minimized.

Copy link
Member

@timneutkens timneutkens commented Jan 15, 2020

It's unlikely that someone will send a PR for something this specific, but I'll add the good first issue label.

@afzalsayed96

This comment has been minimized.

Copy link
Contributor

@afzalsayed96 afzalsayed96 commented Jan 20, 2020

@bionicles here's an example with Docker Compose and Jest if it helps.

@bionicles

This comment has been minimized.

Copy link
Author

@bionicles bionicles commented Jan 20, 2020

Thanks ... I did get it working over the weekend, and could potentially make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.