Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

2 instances of Publii ?

  • This topic has 9 replies, 5 voices, and was last updated 8 months, 3 weeks ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #9210
    Avatar photoclac1

    HEllo,

    On my PC is installed Publii for my personal sites.
    I also need to use Publii for an association’s site, but there will be several people adding content. I saw that in this case, we have to store the files on Dropbox.

    So I need to have 2 instances of Publii installed on my PC:
    – the first one for my personal needs, with the files in my Documents
    – the second one that would point to the Dropbox directory?

    Is it possible? How to proceed?

    Thanks in advance for your help.

    #9218
    Avatar photojfrere
    #9223
    Avatar photoitips3727

    The simplest option seems to have 2 separate devices: either 2 PCs, or one Apple Mac and one PC, then use one device for your personal Publii projects and use the other device for your work Publii projects.

    Alternatively, if you have an Apple Mac computer with an instance of Microsoft Windows also installed on the same device, perhaps you could then have 2 instances of Publii operational: one on your macOS and the other when you switch to Microsoft Windows.

    Or, you might be able to do the same but in reverse: install an instance of macOS on a Microsoft Windows PC.

    Other than those 3 options, I’m not sure how else you could do it (safely).

     

    #9228
    Avatar photoclac1

    The documentation cited above does not address my situation. It allows to share Publii with several people, but as you can’t choose the storage directory website by website, all the websites are shared.
    The idea of using 2 devices is good. But expensive…
    On Windows, couldn’t I create a second user to install a Publii and use it for my association’s website?

    #9229
    Avatar photojfrere

    I would do it with Syncthing  instead of Dropbox. Syncthing would allow to sync the folder with your pro website only.

    #9247
    Avatar photoitips3727

    @clac1

    While I don’t use Microsoft Windows any more, if I did and had your problem, I would certainly test creating a second Windows’ user and installing Publii for that user. Though, the process might be troublesome. If the second Windows’ user truly allows for the install of a second Publii instance, that might resolve your problem. Fingers crossed.

    #9287
    Avatar photocandidexmedia

    Is it possible to put all your site files on Dropbox/Syncthing/pCloud/whichever drive, but only share the association’s folder with your team? Try to see if that works, and test it out with different cloud services.

    Keep in mind: only one person can edit the site at a time.

    #9385
    Avatar photogpsblues

    You can solve this problem by using symbolic links.

    For P. projects you always use the default Publii/sites folder, but when you need to share a site with Dropbox you create a symbolic folder instead of a regular new folder.

    In the figure dott-anfossi is a symbolic folder: its real content is in Dropbox, but it is linked in Publii

    Each operating system has its own way of generating symbolic folders. In Windows I use mklink syntax https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink

    mklink /d /j “local-path-publii” “local-path-dropbox”

    #9395
    Avatar photoclac1

    Hello,

    Many thanks for all your answers. I will try and keep you informed.

    #10094
    Avatar photoclac1

    Hello,

    I’m finally getting around to it.
    I’ve created a second account on my PC, installed Publii and restored the site which needs to be updated by several people.
    And there’s my first surprise: while the site directory on my account is 2.61 GB, it’s 5.22 GB on the new account!
    I have a Dropbox account with 7.88 GB of storage.
    And second surprise: after putting this directory in Dropbox, the synchronization doesn’t go all the way, because all the Dropbox space is full!
    Can you explain this space inflation?

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.