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

Production Server #15

Open
easYnow opened this issue Nov 21, 2017 · 3 comments
Open

Production Server #15

easYnow opened this issue Nov 21, 2017 · 3 comments

Comments

@easYnow
Copy link

easYnow commented Nov 21, 2017

Hi All,

I'm looking for ways to reduce the size of my JointsWP projects before deploying to production server.

Currently sites are between 200mb - 800mb, and a large portion of this is in the theme folder - Is it possible to reduce the file size?

How are other people handling this.

Any tips would be appreciated,

Cheers
Tom

@cordial
Copy link

cordial commented Dec 6, 2017

You only need to upload it once, so just zip it and upload (or you could use git to push locally and pull changes remotely). Or if that is a problem you can remove the node_modules dir (which looks like the bulk of the data on my local builds), upload and then npm install remotely on the server (assuming u can ssh in and can install npm etc). Unless i'm missing something?

@RicardoRVM
Copy link

In the production server, the folder node_modules is not necessary.

@tohvanah
Copy link

For productions servers without npm and/or ssh access, what is the suggested workflow for pushing changes?

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

No branches or pull requests

4 participants