GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    marek (marek@friendica.mbbit.de)'s status on Saturday, 19-Nov-2022 22:58:45 JST marek marek
    • hypolite
    • Friendica Developers
    • matthias moritz
    @matthias Hi, is there any doc / best practice available for setting up a dev environment?
    I would prefer to have some kind of dev instance like friendica-dev.mbbit.de (not existing) but it needs to be accessed remotely by me since I have only shell access on the server.
    Tried remote development feature of #PhpStorm but it keeps crashing, seems my resource on my vm server are too low for that purpose.
    @hypolite pointed something out regarding local code which is synced to its test instance, but I do not know the suited tools for that?
    In conversation Saturday, 19-Nov-2022 22:58:45 JST from friendica.mbbit.de permalink

    Attachments


    • Embed this notice
      hypolite (hypolite@friendica.mrpetovan.com)'s status on Saturday, 19-Nov-2022 22:58:44 JST hypolite hypolite
      in reply to
      @marek Before using phpStorm for this purpose, I was using WinSCP which has a built-in "Keep remote folder up-to-date" feature. On Linux, you can either set up an rsync daemon or mount the remote filesystem locally. Not sure about MacOS.
      In conversation Saturday, 19-Nov-2022 22:58:44 JST permalink
    • Embed this notice
      hypolite (hypolite@friendica.mrpetovan.com)'s status on Saturday, 19-Nov-2022 23:16:00 JST hypolite hypolite
      in reply to
      @marek Yes, but phpStorm can take care of this through the "Deployment" tool. You have to configure a remote connection (in my case, SFTP), then add folder mappings (which local folder maps to which remote folder) and you should be set.

      There's a caveat: any file changed outside of phpStorm will not be updated on the remote side. This includes any file-changing scripts, git commands executed outside of phpStorm, etc...
      In conversation Saturday, 19-Nov-2022 23:16:00 JST permalink
    • Embed this notice
      marek (marek@friendica.mbbit.de)'s status on Saturday, 19-Nov-2022 23:16:01 JST marek marek
      in reply to
      • hypolite
      Thank You @hypolite , so you managed to use PhpStorm's remote dev feature? I think this is the way I'd like to do it too, once I have upgraded to a more performant server.

      I know this feature with WinSCP will try it out now by myself, I guess it just needs to be connected and monitor the local dev folder, so it would upload changes files by my local IDE?
      In conversation Saturday, 19-Nov-2022 23:16:01 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.