Usually I'm creating project work space on my localhost (win). As soon as my code is tested I'm committing it into repository.
But some days ago I've faced a little difficulty. My customer want me to write code right on his server because he have some handmade binaries working only on his machine (solaris). I really don't know what to do. I've tried Eclipse plugin for connecting to remote servers, but I'm still unable to create remote project.
Any ideas?
PS: Sorry for my English :)
Thank you.
You don't really need a plugin to accomplish your goal. The following tutorial is aimed at Zend Studio, but I believe the information is generic enough that you can use it with just Eclipse: http://kb.zend.com/index.php?View=entry&EntryID=414
Related
I have been doing some research on editing WordPress sites locally and found that PhpStorm is one of the best IDE's out there for this.
The problem I am having is that after downloading my entire WordPress site to my local machine I am unable to even find an option to import it and run it in PhpStorm. I am also struggling to find comprehensive tutorials out there for this so I would appreciate it if someone can at least point me in the right direction so that I can start making progress.
JetBrains has already written a very comprehensive documentation on how to get started with WordPress in PhpStorm.
Documentation Link : https://www.jetbrains.com/help/phpstorm/preparing-to-use-wordpress.html
This is the most useful part for you Download and install WordPress but I would recommend to go through the doc in its entirety.
To run WordPress you will have to setup a local development server. You can use the following.
Laragon
XAMPP
Local by flywheel (Its pro version is free now.)
As a self-taught developer I have always worked directly in cPanel to edit websites, which is obviously not the way to go. I am looking to figure out how I can start connecting local folders with cPanel so I can easily try changes locally before deploying them to the live website.
I have heard about FTP and checked out fileZilla but that seems to still be a manual process. I am looking for a way similar to using Git. Run changes locally, and then commit and push them to cPanel when all is good.
If anybody has any suggestions on the best way to go about doing this, that would be greatly appreciated. I'd like to work with node.JS if possible but just running php would also already be great.
I'd recommend using GIT itself. cPanel has now integrated GIT to its updated versions.
You can read more about this from below URL:
https://blog.cpanel.com/git-version-control-series-setting-up-git/
We are a team of 4 web developers working at the same time on a project located in localhost [each one of us has a copy of the project]. So what we are doing is using a really primitive technique to upgrade it, we work on our copy and once per week we gather everyone's work, which is a HUGE HEADACHE. So I would like to configure phpStorm to connect to the team leader local server and work directly from there, so the project will always be updated.
I recommend downloading git gui tool(or sourcetree). Create a repo on one of your servers or host it on github. Git GUI tool should be able to guide you through the whole process. If Git GUI is a little confusing, try SourceTree which is a little bit more user-friendly.
It would be easier for all of you to create a Git Repository and collaborate your work.
I have been working on a WordPress plugin locally using IIS PHP and Wordpress installed through webmatrix.
So far.. Easy. That is what I like.
But... Now I have to get the whole thing to my host that is not Using IIS and does now support Web Deploy.
FTPing the files is easy enough but I don't see how to get my MYSQL database up to the server.
What is the Easiest way to publish the database with the files?
And I need EASY!
:)
You guys are real programmers! Me not!
I think the easiest answer is to move to a windows web host :-)
http://www.microsoft.com/web/hosting/home
If you're just working on a plugin, technically the plugin should be smart enough to create any data structures you need. That's what makes the thing portable:
http://codex.wordpress.org/Creating_Tables_with_Plugins
You should be able to write the plugin to create any required data, then package and install the plugin on your site.
Happy coding!
I have a ubuntu machine I have setup. I installed apache2 and php5 on it. I can access the web server from other machines on the network via http://linux-server. I have subversion installed on it. I also have vsftpd installed on it so I can ftp to it from another computer on the network.
Myself and other users currently use dreamweaver to checkin-checkout files directly from our live site to make changes.
I want the connect to the linux server from pc. make the changes on the test server until ready and then pushed to the live site. I want to use subversion also into this workflow as well. but not sure what the best workflow is or how to set this up.
I have no experience with linux, svn, or even using a test server, the checkin/out we are currently doing is the way I have always done it.
I have hit many snags already just getting what I have setup because of my lack of knowledge in the area. Dreamweaver 5 has integration with subversion but I can't figure out how to get it to work.
I want to setup and create the best workflow possible.
I dont expect anyone to be able to give me an answer that will enlighten me enough to know everthing I need to know to do what I want to do (altough if possible that would be great) instead I am looking for maybe a knowledge path like answer. Like a general outline of what I need to do accompanied with links to learn how to do it. like read this book to learn linux, then read this article to learn svn, etc., then you should know what to do. I would be happy just getting it all setup, but I would like to know what I am actually doing while setting it up too.
I'm sure you've solved your issue by now, but for future reference to other users, here's the steps I would suggest to get started:
Create a repository for your project (in Ubuntu)
Host the SVN repo using Apache
I'd read up on the subversion book to look at some strategies for development with SVN.
To connect to your SVN machine, you'll need to use it's IP or hostname instead of your svn live site you mentioned. With proper forwarding, it's easy to access it from anywhere.