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

Server size too big #15

Closed
mrtechdavid opened this issue Jan 4, 2024 · 14 comments
Closed

Server size too big #15

mrtechdavid opened this issue Jan 4, 2024 · 14 comments

Comments

@mrtechdavid
Copy link

Unable to deploy project because server size is too big and won't deploy
Screenshot 2024-01-03 at 5 57 03 PM
Screenshot 2024-01-03 at 6 02 21 PM

@Russell2259
Copy link
Member

There are a couple causes I can think of off the top of my head.

  1. When the repo is cloned, it also clones all of it's commit history
  2. Repo is giant

Have you tried any other services besides cyclic and vercel? I've heard that render is a good alternative. If it is still too big, I would try downloading polaris as a zip file and then uploading the unzipped contents to a new repo. This should remove all commit history making the repo much smaller.

We are also planning to move most of the images to our assets repo, which will also help with the size issue.

@Russell2259 Russell2259 mentioned this issue Jan 9, 2024
@EnchantedDonutStudioz
Copy link

There are a couple causes I can think of off the top of my head.

  1. When the repo is cloned, it also clones all of it's commit history
  2. Repo is giant

Have you tried any other services besides cyclic and vercel? I've heard that render is a good alternative. If it is still too big, I would try downloading polaris as a zip file and then uploading the unzipped contents to a new repo. This should remove all commit history making the repo much smaller.

We are also planning to move most of the images to our assets repo, which will also help with the size issue.

Render doesn't allow proxies, and zipping it is still to large

@Russell2259
Copy link
Member

Have you tried removing commit history?

@EnchantedDonutStudioz
Copy link

Have you tried removing commit history?

How?

@Russell2259
Copy link
Member

Download polaris as a zip file and then upload the unzipped contents to a new repo and try to deploy that.

@EnchantedDonutStudioz
Copy link

Did that, still too large

@EnchantedDonutStudioz
Copy link

@Dthesle
Copy link

Dthesle commented Jan 10, 2024

Is there a way to not exceed the server size on vercel without unzipping most files?

@Russell2259
Copy link
Member

Is there a way to not exceed the server size on vercel without unzipping most files?

I'd assume they'd have safeguards to prevent that.

@Russell2259
Copy link
Member

Most of the size is from the images folder. We're working on moving the images to our assets repo.

@EnchantedDonutStudioz
Copy link

Most of the size is from the images folder. We're working on moving the images to our assets repo.

👍
image

@Russell2259
Copy link
Member

We have migrated all of our images over to the assets repo. This should fix the size issue.

@EnchantedDonutStudioz
Copy link

We have migrated all of our images over to the assets repo. This should fix the size issue.

It is still way too big
512 MB total
Vercel only allows up to 250

@Russell2259
Copy link
Member

The deployment size issue has been fixed. Vercel still does not support Polaris, though we're working on a version of Polaris that will be deployable to most hosting providers. Including vercel.

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