-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
What are best practices for deployment to production? #113
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
Comments
Since the dashboard is still in the early stages, we don't have a clear set of guidelines or desired features for deploying to production. The only absolute requirement is that you make the dashboard accessible over HTTPS only, and require a username and password. This is to prevent the master key from leaking. Being mountable is one approach, but it's also pretty node specific. This might be fine, since the Open Source server is also node specific. That said, once compiled the dashboard can be distributed as a handful of static files + one config file. It would be very easy to put the dashboard assets in a public folder in any webserver, then dynamically generate the config file from the other auth already existing on that webserver. In general there should never be a reason not to be on master. Not being up to date will result in you missing out on the newest features, and also missing out on security fixes. We haven't had to make any security fixes on the new dashboard yet (either before or after releasing it on GitHub) but it is possible that might happen. Most likely we will put the dashboard on npm soon, and the npm package will contain only the built files. That would also be where you deploy from. Before we can do that, we'll need to make some small tweaks to our build process (mostly just change the location of certain outputs, and change what is included in the package) and I'd also like the dashboard to be able to notify the user if there is a newer version available, to avoid the situation some projects like Jenkins are in, where the newest version has tons of cool features, but people never find out about them, and don't bother to upgrade. If you'd like to help out with either of those things, that would be very valuable. I would hope that most deployments do not need to modify any source code. |
I think it makes sense that the "deliverable" (e.g. what is put in NPM or another package manager) be the compiled assets. People doing deploys off a Adding reminders client-side sounds like an excellent way to encourage everyone to upgrade. Unfortunately, my browser-side JavaScript is probably not good enough to contribute :\ 👍 |
I actually just added code to display the client side reminders and I'm preparing an |
Awesome! I don't have anything else to discuss -- feel free to close this issue. |
feat: Add database browser tour
Apologies if this question doesn't belong in the right place. Somewhat related to the discussion going on in #102.
I'm trying to deploy parse-dashboard in production, and would love to know what best practices are, and also how other people are doing this.
More specific questions:
My current (nonfunctional) deploy process is as follows:
npm start
to build the client side assets and put them in the right place before starting the server.npm start
.The text was updated successfully, but these errors were encountered: