File Sync to Nitrous IO server - nitrousio

I am attempting to use the MAC version of Nitrous Desktop (v1.02) such that I can connect my Nitrous IO ~/workspace to my Nitrous directory on my MAC. Currently I have an application in ~/workspace that I have been syncing through git so that I can use Sublime to edit locally, but I want to get Nitrous Desktop working.
Everything in the app is green: File Sync is green and says Monitoring, Port Forwarding works great, all other buttons work well. Problem is that the Nitrous directory on my local mac never updates with what is on the Nitrous IO server. As a test I tried to create a directory and inserted a file under Nitrous, but it also doesn't sync to the server.
Git works fine for me, but if anyone knows what I am doing wrong to get file sync to work, please let me know.
Any help appreciated.

Currently Nitrous Desktop will sync files that are found within ~/workspace/, and files will be monitored locally and uploaded when changed. As of Jan 24, polling is not supported, so you will need to click Sync Now within the Mac app if you are making changes on the server end (Nitrous box).

Related

Pulling remote changes from a development server in PhpStorm

For most projects, I work in a local Dockerized setup, but once in awhile, I have to work on a project that lives on a remote development server. Using tools > deployment > configuration, I have set up sftp access to the server.
Now I can't seem to find a way to download the relevant files from that server.
I could swear that there used to be a menu option under Tools > Deployment to do this. Something like pull files from server.
Did this option go away with a recent update? Is there another way to do this from within the IDE (preferably without pushing to version control every time I want to test a change)?
===
Edit: I am using PhpStorm 2019.2. The contents of the Deployment submenu are:
Configuration
Options
Automatic Upload
Browse Remote Host
I have tested the sftp connection from within the configuration screen in PhpStorm, and it is working. Browse Remote Host also appears to work.

How do you work with remote projects and PhpStorm?

My setup is like this:
The project runs on a LAMP server. I cant run the project on my working machines, they are Windows based and the project needs Linux.
My IDEs are on different Windows machines (work, home, other_work).
#work I have PhpStorm #other_work I use a SSH client and edit files with nano or vim and #home I use PhpEd.
How can I keep my project in sync with PhpStorm?
In PhpEd I had never such problems every change is instantly visible in the IDE. I know that I can use the remote Host to see the actual files and change them, but I want to use the project features from the IDE like go to definition.
Has anyone solved this problem?

Building a web page without having internet access

I want to build a web site using my laptop in areas where I often do not have internet access - no active browser. How do I check my pages to see how things are going without a browser?
Just drag-and-drop the .html file into your favourite web-browser. It should open up with the "file:///" protocol automatically.
You should always have a local web server installed on your machine for development.
For example, Mac OSX comes with Apache pre-installed. You might have to activate it. You can also install a server language like PHP or Python. Again, OSX comes with those pre-installed, might just need activation. Google how to set up a local server on the type of OS you have.
You should try to replicate the type of server setup you will be using in production.
That will permit you to code locally and test in your browser.
You should also use some kind of versioning system like Git. So, you code on your local machine, then you can push your code to the cloud once in a while for backup. When you're ready, upload your code to the production server and try it out.

CanĀ“t Sync Nitrous.io Desktop

I'm teaching a php course at a community college and I wanted to use Nitrous as an environment but I can't sync my files with the desktop application, I guess it's a network firewall block (already turned off the OS firewall, windows xp btw), any info on what port should I ask the admin to whitelist?
I am not sure this is a firewall problem. I have the same issue here. In the file system, my box shows in the Nitrous folder, so there is at least some communication otherwise how could it know the name of the box. But in the folder with the boxname, nothing else shows but the .unison file, which it should have ignored according to docs.
I am missing all of the files that should be there.
In my Nitrous desktop app, file sync is "ON" and I specifically allowed the program in the firewall settings. However, nothing in my boxfolder syncs.
This could be the same problem you are having.

Can I run (XAMPP) MySQl inside my DropBox folder?

Lots of conflicting reports out there when I google; can anyone help?
Basically I want to have the same databases available at work & home PCs, for development porpoises only.
I will only ever be physically at one PC (with a 45 minute trip between) and only then will there be database access. The MySql service will be running on both, but only one will be write/reading the database. Both run Windows 7
I don't need to bother with symlinks, junctions, etc as I have enough space in my DropBox to install all of Xampp there.
Can I do that without corruption?
I use something similar as part of my remote development testing, I have never tried to run a large set of data from this or a production database. Haha, but for testing queries and setting up a couple rows, etc... I use something very similar with little to no problems.
I believe that you can run the portable xampp and mysql from your Dropbox just go to www.portableapps.com to get the xampp and also download the portable launcher from the link on the page.
Let XAMPP server run on your computers, and the data folder saved on your cloud (DropBox, SkyDrive, etc).
You should install XAMPP portable on your root folder (c:) that is the same on all computer you use, then you can move XAMPP data folder (xampp Apache htdocs) and MySQL data (xampp Mysql/data) folder to Dropbox.
Do not use XAMPP installer, but use the portable one.
Configure the folder settings on both Apache and MySQL config file:
C:\xampp\apache\conf\httpd.conf
C:\xampp\apache\conf\extra\httpd-ssl.conf
C:\xampp\apache\conf\extra\httpd-xampp.conf
C:\xampp\mysql\bin\my.ini
Do the same with other server that you use (PostgreSQL, etc).
Make sure that you:
Always turn off XAMPP server after using on each PC.
Always sync Dropbox before changing PC, that is before logging on and after logging off on different computer.
Mind host / local domain variable on each computer.
Its probably better to use same username for all computer you want to use to run the data folder.
Other method is using PortableAppas.com, that is running the apps directly from USB.