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

NPM Script to make production build of app #48

Open
mtheoryx opened this issue Jun 3, 2018 · 2 comments
Open

NPM Script to make production build of app #48

mtheoryx opened this issue Jun 3, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@mtheoryx
Copy link
Collaborator

mtheoryx commented Jun 3, 2018

Minimum requirements

Add a script to package.json for making a production build of the Vue app.
Here's a good jumping off point

Extras

Server

Currently, we fire up an express server. There are some things that are env-var based. We could maybe extract that for a true production build that would cut down on logging.

Additionally, having a "build" that just made static files that can be served up by nginx, and a whole different express server could open up some great prod deploy possibilities.

Docker

Docker support. Docker builds for production vs live development. Consider docker-compose file composition and env vars for this.

@eloytoro
Copy link

eloytoro commented Jun 3, 2018

@mtheoryx this one looks like just adding the script to package.json

@mtheoryx
Copy link
Collaborator Author

mtheoryx commented Jun 3, 2018

Edited description of my initial thoughts.

What are yours thoughts?

@mpaarating mpaarating added the enhancement New feature or request label Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants