Jump to content

Gitignore for Live website PS 1.7


JeA

Recommended Posts

Hi,

I would like to version control my ecommerce with prestashop 1.7.x . I need a gitignore that version control the content but ignore all the files not relevant for my live website to run.

Ideally I would like to version control all the files and just those files so that a clone of my live website repo on my local server will run. ( considering Export/Import of my database done aside).

Most of the gitignore I found so far aims at version control the code file for developers. Other gitignore are apparently for Live website but ignore the content and/or are for prestashop 1.6.x.

*Note I would like to version control the core files.

Here is the gitignores I found :

Livewebsite + core but PS 1.6. and no content  :

https://blog.vincent-guesne.fr/prestashop-utiliser-git/

Developers gitignore for PS 1.7, no content :

https://gist.github.com/prestarocket/7870db5cbba8b841faf08563e11c0249

Is there anyone having a perfect gitignore for PS 1.7 for live website ?

Link to comment
Share on other sites

  • 2 months later...
On 5/3/2018 at 5:36 AM, JeA said:

Hi,

I would like to version control my ecommerce with prestashop 1.7.x . I need a gitignore that version control the content but ignore all the files not relevant for my live website to run.

Ideally I would like to version control all the files and just those files so that a clone of my live website repo on my local server will run. ( considering Export/Import of my database done aside).

Most of the gitignore I found so far aims at version control the code file for developers. Other gitignore are apparently for Live website but ignore the content and/or are for prestashop 1.6.x.

*Note I would like to version control the core files.

Here is the gitignores I found :

Livewebsite + core but PS 1.6. and no content  :

https://blog.vincent-guesne.fr/prestashop-utiliser-git/

Developers gitignore for PS 1.7, no content :

https://gist.github.com/prestarocket/7870db5cbba8b841faf08563e11c0249

Is there anyone having a perfect gitignore for PS 1.7 for live website ?

 

Hi, I would like to know if you have already been able to find a solution to add the files to the gitignore in order to have a correct version.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...