Skip to content

Local GIT location #9

@pschoffer

Description

@pschoffer

As of now gitpress works only with remote GIT repo.

In SEED mode new instance is created and pushed to that repo.

In FETCH mode the data is fetched from the remote repo and deployed.

It would be great if those modes would work not only from remote but also from local git on the host machine.
So SEED would be able to create a folder filled with all the data but no need to have any real repo on github or somewhere.
And FETCH would again just did the deployment from the local folder.

One solution I thought of is via docker volumes, where the host and gitpress container would share a volume where gitpress would seed/fetch stuff from. But I am open for other suggestions!

However, this needs to be documented in README, posibly we might need some config switches as well to avoid attempting to connect to remote.

This can be broken down to multiple PRs of course.

Please do ask for clarifications.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions