Hi! New and really want to like Geany. =)
We have a php production system, where we develop in a local dev directory, then move to a local test directory and if it passes test, then move those files to out to the web to production/out for use by our user base.
We have a full on packaging and push system that we use for full releases to the web, but developers do a lot of small releases as well along the way.
Any suggestions on how to do ftp directly from Geany after the files have been tested?
This seems like a really easy thing. Any help? Thoughts? What does everyone do?
Note: We haven't yet found away to actually copy a file to test yet in Geany. But a local ftp and an external would work just as well as a copy to the test directory. Seems like a nig hole for any web developer using this. =) Recommendations much appreciated.
Thanks for any help,
-Colin
MediaBlinkk
On 13-07-20 07:24 AM, Colin wrote:
Hi! New and really want to like Geany. =)
We have a php production system, where we develop in a local dev directory, then move to a local test directory and if it passes test, then move those files to out to the web to production/out for use by our user base.
We have a full on packaging and push system that we use for full releases to the web, but developers do a lot of small releases as well along the way.
Any suggestions on how to do ftp directly from Geany after the files have been tested?
This seems like a really easy thing. Any help? Thoughts? What does everyone do?
Note: We haven't yet found away to actually copy a file to test yet in Geany. But a local ftp and an external would work just as well as a copy to the test directory. Seems like a nig hole for any web developer using this. =) Recommendations much appreciated.
Here's what I would do...
1. Write a little shell/php-cli/whatever script to copy the files from dev directory to test directory (and optionally launch the site in your web-browser to actually see the results).
2. Setup a build command called "Test" and configure it to run your script from step 1.
3. Use the keybindings or menu or toolbar items to run the build command from step 2, which will copy your files to the correct place (and optionally launching the site in your browser).
4. Repeat 1-3, but instead creating a "Deploy" command that copies the files to the remote production file system.
Assuming your using any reasonable operating system (including Win32 even), you can mount a remote directory as a local file system, so the little script to copy files around would be trivial.
Cheers, Matthew Brush
Hi Matthew,
Thanks very much for the note.
Sounds reasonable. Thanks!
Although windows already has a file manager stub in it for use by editors. And a person may want to edit iteratively, most web programming, especially php is done that way nowadays. All that building and etc... when easy file management and even ftp is a native function in windows, could be a bit much.
I'm coming around to think that Geany as a text editor is fine, but as a code editor it may leave a bit to be desired. Maybe not quite ready for prime time, out of the box. Would need us to help it, edit it up a bit.
That's no slight to Geany. And that doesn't mean we couldn't write our own version of Geany using some kind of plugin hooked to it. Just means that for web languages that require lots of iterative development it may not be quite ready to be used. There seem to be some holes.
Most mobile programmers, programmers that move around, may not always have the best connection, so mounting a remote server directory may not always be a viable option. Thus needing ftp to upload files on a case by case basis.
If I was using a compilable language with a build or a make then it might be great.
But alas we're not.
Thanks again, like I said just a few show stoppers missing before we could recommend it to our group of web developers.
I'm going to remove us from the list as we continue our search, thanks again for the help!
And we'll look forward to seeing Geany again maybe later on. For now it just seems to have 3 or 4 show stoppers for web development.
Cheers,
-Colin
-----Original Message----- From: users-bounces@lists.geany.org [mailto:users-bounces@lists.geany.org] On Behalf Of Matthew Brush Sent: Saturday, July 20, 2013 2:21 PM To: users@lists.geany.org Subject: Re: [Geany-Users] Hi! New to Geany. How does one ftp to production?
On 13-07-20 07:24 AM, Colin wrote:
Hi! New and really want to like Geany. =)
We have a php production system, where we develop in a local dev directory, then move to a local test directory and if it passes test, then move those files to out to the web to production/out for use by our
user base.
We have a full on packaging and push system that we use for full releases to the web, but developers do a lot of small releases as well
along the way.
Any suggestions on how to do ftp directly from Geany after the files have been tested?
This seems like a really easy thing. Any help? Thoughts? What does everyone do?
Note: We haven't yet found away to actually copy a file to test yet in Geany. But a local ftp and an external would work just as well as a copy to the test directory. Seems like a nig hole for any web developer
using this.
=) Recommendations much appreciated.
Here's what I would do...
1. Write a little shell/php-cli/whatever script to copy the files from dev directory to test directory (and optionally launch the site in your web-browser to actually see the results).
2. Setup a build command called "Test" and configure it to run your script from step 1.
3. Use the keybindings or menu or toolbar items to run the build command from step 2, which will copy your files to the correct place (and optionally launching the site in your browser).
4. Repeat 1-3, but instead creating a "Deploy" command that copies the files to the remote production file system.
Assuming your using any reasonable operating system (including Win32 even), you can mount a remote directory as a local file system, so the little script to copy files around would be trivial.
Cheers, Matthew Brush _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi Colin,
Le 21/07/2013 00:27, Colin a écrit :
I'm coming around to think that Geany as a text editor is fine, but as a code editor it may leave a bit to be desired.
I can tell you some do use it as such happily :)
[...]
Most mobile programmers, programmers that move around, may not always have the best connection, so mounting a remote server directory may not always be a viable option. Thus needing ftp to upload files on a case by case basis.
Why not using a DVCS (like Git) for that purpose? Commit local changes to e.g. Git, and push/pull them to the test env, etc. Git even allows hooks, so it can be completely automated when committing; or whatever.
I mean, what I do when doing web programming (not that often I admit) is that I modify files in a local test env on my computer (where nobody but I care it it sops working), and when I'm done I commit it to the VCS, and push it to the next step (serious test env, or production).
Just a thought.
Cheers, Colomban
PS: CC-ing you in case you already unsubscribed from the list -- don't worry, I won't continue spamming you ;)
PPS: BTW, although it's unfortunately not yet pre-built on Windows, there is a little Geany plugin that can display & inspect a web page (using Webkit), and that cab automatically be updated whenever you save a file, allowing you to directly see the result. That might perhaps be of some interest to you. http://plugins.geany.org/webhelper.html
On 13-07-20 03:27 PM, Colin wrote:
Hi Matthew,
Thanks very much for the note.
Sounds reasonable. Thanks!
Although windows already has a file manager stub in it for use by editors. And a person may want to edit iteratively, most web programming, especially php is done that way nowadays. All that building and etc... when easy file management and even ftp is a native function in windows, could be a bit much.
That's why the script automates those commands.
I'm coming around to think that Geany as a text editor is fine, but as a code editor it may leave a bit to be desired. Maybe not quite ready for prime time, out of the box. Would need us to help it, edit it up a bit.
Depends on your requirements I guess.
That's no slight to Geany. And that doesn't mean we couldn't write our own version of Geany using some kind of plugin hooked to it. Just means that for web languages that require lots of iterative development it may not be quite ready to be used. There seem to be some holes.
No need to write own version of Geany, it has a fairly robust plugin interfaces similar to SublimeText2 or other pluggable editors. No editor has everything you need built-in.
Most mobile programmers, programmers that move around, may not always have the best connection, so mounting a remote server directory may not always be a viable option. Thus needing ftp to upload files on a case by case basis.
You can copy file from remote directory to local in advance...you asked for a workflow that copied local files to remote directory, and that's the same in my suggestions as anywhere else in the world.
Normally I'd expect devs to be checking out code from VCS and having local copy, my suggestions were to support your "plain old file moving between local and remote filesystems" workflow.
If I was using a compilable language with a build or a make then it might be great.
It just runs commands, so it's completely dependent on the filetype what "Build" means (nothing to do with compiled languages per se).
But alas we're not.
Thanks again, like I said just a few show stoppers missing before we could recommend it to our group of web developers.
Each is own :)
I'm going to remove us from the list as we continue our search, thanks again for the help!
This Email > /dev/null, heh
And we'll look forward to seeing Geany again maybe later on. For now it just seems to have 3 or 4 show stoppers for web development.
Meh, artificial barriers exist no matter which editor you use :)
Cheers, Matthew Brush