I working in small company. I am the only developer. All sites in Wordpress. I am using MAMP and localahost. Uploading files to subdomain through filezilla FTP show to client and after i need to download back to my localhost and upload to live server. is annoying! Dont know what to use, please help and how i can set up with steps. dont understand how git and bitbucket works. how i can deploy from localhost to subdomain or live server. I know that for database i have to use DBMigrate. And just import/export thanks
How is your production/live server setup ? Does it has any control panel ? This information will help the members to suggest you with the deployment process.
Definitely need to know more about your server setup. Are you running on shared hosting with Cpanel or are you running a VPS or Dedicated with WHM or Plesk?
we have shared hosting with Cpanel. i am using all the time FTP. now i just learned how to create repository with git in bitbucket. how to commit and push changes to my repository. i know how to download repository to my localhost. But how to deploy my repository from bitbucket to my ftp ? What you suggest ? we ahve around 50 website on our server and 2 subdomains which we using to show to client .
If you are migrating the cPanel accounts from shared hosting to the server with cPanel; use the backup options from cPanel and generate full account backup. Download them on the server you wish to restore the accounts. Restore them with the cPanel script /scripts/restorepkg. It will restore the account's data as it is.
Okay If I understood your problem correctly, may be this idea would help you. The problem is, Working on Local files and moving them to the server Also you would like to have version control over your files. If you need a version control, you can use some third party svn repository like assembla. So, create a repository and connect your local host to SVN. So, the version control problem will be resolved. Everytime you do change, just commit the codes. Now, getting the file from svn to your server is going to happen like Server - to - Server. Ask for ssh access from your shared hosting and find the commands for retriving friles from svn repositories using your login. If you learn this, you can simply import/update all the files from SVN to your shared hosting and you can demo to client. So, there will be no FTP involved. Hope it helps..!! Please lemme know if you need further clarification.
There is one more option, if you dont need verison controller. Just use SITE option in dreamweaver. So, just push all the files to server everytime you change. Check this link to get the idea. siteground.com/tutorials/dreamweaver/website_upload.htm