getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.6k stars 444 forks source link

.doit.db.dat file getting bigger and bigger. #3714

Closed partrita closed 10 months ago

partrita commented 10 months ago

I use github page to depoyments. buy my .doit.db.dat file is now 58 Mb. As you know, github allows under 50 Mb per file(except for Git LFS). Is there anyway to reduce file size?

Thank you in advance.

Kwpolska commented 10 months ago

You shouldn’t commit .doit.db.* and cache to git, they are transient state.

If the file seems too large nevertheless, you can try removing it, it will be re-created and might end up being smaller

partrita commented 10 months ago

You shouldn’t commit .doit.db.* and cache to git, they are transient state.

If the file seems too large nevertheless, you can try removing it, it will be re-created and might end up being smaller

Oh, I didn't know that. This was my .gitignore file.

### Nikola ###
# gitignore template for Nikola static site generator
# website: https://getnikola.com/

.doit.db
*.py[cod]
cache/
output/

I add * of it.