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

Now.sh configuration #5

Merged
merged 4 commits into from Sep 14, 2018
Merged

Now.sh configuration #5

merged 4 commits into from Sep 14, 2018

Conversation

mavdi
Copy link
Contributor

@mavdi mavdi commented Sep 7, 2018

Changes needed to get things working on now.sh

  • Added package.json scripts
  • Switched json-server to middleware as now.sh only supports one port at a time

package.json Outdated
"design:build": "NODE_ENV=production webpack --display-error-details",
"design:publish": "npm run design:build && ldm design:publish design/dist",
"now-build": "npm run design:build",
"now-deploy": "now",
"now-start": "ENVIRONMENT=now node app/index.js",
"start:json-server": "nodemon --watch ./mocks --exec 'json-server ./mocks/db.js --routes ./mocks/routes.json --port 3001'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need that and start:magazine:mocked?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't. Will change now.

@marcbachmann marcbachmann merged commit cb9dc91 into master Sep 14, 2018
@disufi disufi deleted the feat/deploy-now-sh branch December 20, 2018 22:04
@livingdocs-automation
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants