How to connect my code from VS Code to my GoDaddy domain? - visual-studio-code

I have purchased a GoDaddy domain and I have made a website from code through the Visual Studio Code application. I tried to link the two together so that I can have a public website with my domain name and the content from VS Code. Does anyone know how I can do this? Any suggestion in VS code ftp/sftp plugins ?

Download ftp-simple extension for VSCode and then setup the configurations file.
To setup configuration file Press F1 -> ftp-simple: Config - FTP connection settings
Set up your configuration and then again press F1 -> ftp-simple: Remte Directory Open to Workspace.
You can check the output is Output console by selecting ftp-simple in dropdown.

Have you purchased hosting service? If yes, you just need to upload your files to your root folder and make sure you point your domain to your hosting provider name server.

Related

How To Sync Visual Studio Code Local Files With Mapped File Server?

Here is a simple description of my problem. If you need more information please inquire.
I am not seeing any way that you would be able to sync files from my local computer to another file server. Is there a way that this would be possible using Visual Studio Code and a mapped network drive file server?
https://marketplace.visualstudio.com/search?term=sync&target=VSCode&category=All%20categories&sortBy=Relevance
You can sync files to another machine via a plugin called 'ftp-sync' this will allow you to send files to a destination via the FTP or SFTP protocol. This plugin also allows automatic upload on save (which is awesome).
See Url: https://marketplace.visualstudio.com/items?itemName=lukasz-wronski.ftp-sync

How to edit the source code of the website hosting in Demandware?

I want to edit the css and attached some js file in the header.Can i edit it through login to the ftp account using in Dreamweaver.Or i need edit it in Eclipse?
You will need eclipse & DW extension for eclipse and source code set up of your DW site.
Then you need to set up DW server connection and after that whatever changes you will do, automatically be deployed on the associated server.
I don't think there is any FTP option for changing files in DW.
Thanks,
Manish Kumar
There are 4 ways to upload some code on Demandware aka salesforce commerce cloud :
VSCode extension Prophet Debugger
Eclipse with the UX Studio (help > install new software Work with : http://updates.demandware.com/uxstudio/4.5 (press add than install)
WebDav client as WinSCP, CyberDuck, CarrotDav and uploading directly in the active version directory in Cartridges. You'll find the path in your back office in Administration > Site Development > Development Setup > Cartridges.
dwupload a very simple node tool. You have to configure a dw.json file directly in your cartridges directory and launch it from here (a little tips you can use the parameter --config [configuration file] if you have serval sandboxes).
You can do that with a WebDAV client. Just install any WebDAV client, for instance CyberDuck, and connect to your server with your credentials.
After that you can use it in a way similar to FTP clients and update your files without Eclipse.

How to deploy my project to localhost?

I'm working on a website and right now I am using FileZilla to make changes to it. Every time I make a change, I have to re-upload the file to the website through FTP and then wait for it to update online. I want to just deploy my project to localhost so I can get instant results and then just upload the whole project when it's finished. How do I do this? All I have is a set of directories with the files in them.
You really need to use a web/application server such as IIS/Apache.
For PHP projects go for WampServer/XAMPP.Easy to setup and works very well.
(maybe too obvious)
If you are working only static content based on html/css/js you can just edit and view changes directly by opening the local file in your browser and refresh each time.
Furthermore for css and html you can edit your code "live", directly into browser and see changes immidiately.
Another option is to edit files with an editor that supports ftp like notepad++, you can connect via ftp, open and edit files directly from server (like php,html,css,js) because once you save the editor will automatically upload your changes.
Heres a good explanation about notepad++ and ftp plugin.
Localserver
If you work with php (and even only with html/css) the best choise is to run a local server that rappresents a real environment in which your code will run. As said by others XAMPP is a good choise for begginers because of simple installation and management.
XAMPP download
XAMPP tutorial
Once installed put your folder inside C:/xampp/htdocs/yourCodeFolder
Run the xampp control panel and start the Apache server.
Finally navigate with your browser to: http://localhost/yourCodeFolder/

How can I show local file system browser for Zend Studio 10?

I cannot figure out how to show a local system file tree structure in Zend Studio 10. Nearly all IDEs have this capability. Can someone please tell me how I can browse my local system to open a file without having to create a project?
I don't think this is possible without explicitly creating a project. I think there is a workaround for this if you are using Linux/OSX. Go to Window > Show View > Remote Systems and create an ssh connection to your local host.
Yes, this is an ugly solution but at least its something!

Zend Studio and remote host - best practice

Got the following:
Zend Studio
Zend Framework Project
Remote host with FTP and SSH (root access)
Want to:
Save directly to remote host.
Currently i'm working on a localhost *AMP server, manually updating the remote through FTP.
Have tried various ways to acomplish the above - unsuccessfull obviously.
Can some one tell me what to do? Studio 5 (pre-eclipse) was so much better for pure 'FTP programming'.
/Philip
Currently i'm using remote server support for synchronize my project directly with my i5 server.
It works using ftp or sfpt if you have enabled SSH on your server machine.
It works very well.
Before using remote server support you have to set up a connection
to the server: go to window menu > open perspective > other >
remote system explorer
set up a connection to your server
Return to php develop perspective
To add the "support to remote server" to an existing project, click on the project with rigth click > properties > Remote Server Support
Flag enable Remote connection properties
Set-up all properties and select upload files "on save"
In this way, ZS work locally on the file's project (index, build files ecc) and upload on the server only the .php and .js files.
It can works very well with svn suppor too, because it DOESEN'T upload (.svn) files to the server but keeps it local.
Whatever you do, don't use Expandrive. That's what I'm working with now, and it grinds ZSE to a crashing halt. Sometimes, Expandrive just stops working and ZSE thinks the file disappeared, so you have to close everything and anything not saved is lost.
EDIT: One solution that's worked for us is using the SMB protocol, using Windows' SMB compatibility to create a remote drive, and then interacting with your code base that way. Make sure to ignore building large static files or large files you won't be directly editing to further speed up Eclipse when building a project this way.
You can use 3rd party utilities:
Expandrive for OSX
Netdrive (commercial) or FTPDrive (free)
to mount FTP/SFTP to drive or folder so you can work as it is locally.