How do I save SFTP settings for all new projects? - templates

I have a PHP project where I already have the SFTP settings configured under deployment. However, whenever I make a new project, the deployment section is blank and I have to reconfigure it again each time. Is there a way to save these settings so I don't have to keep reconfiguring it with each new project I create?

In the deployment configuration, uncheck the Visible only for this project checkbox.

Related

How to deploy files for Sitecore using TDS

I'm starting a new Sitecore 9 project using Helix and TDS. I've got my basic structure setup, using Hedgehog's fork of the Habitat site as a guide. I'm also referencing Hedgehog's docs.
My solution is just a start, so it's very simple right now, only a Foundation.Serialization module that contains the TDS projects for the basic layer folders and a Project.Website module that contains a TDS project and an MVC Website project (MVC)....it's got a basic Razor view and some random CSS/JS files.
The TDS Habitat readme, says to use Solution > Deploy Solution to deploy the projects. When I do this on my project it builds and the Sitecore items are deployed to Sitecore, but my Views and CSS/JS are not....presumably because I haven't configured anything to facilitate this.
Looking at the docs and the TDS Habitat solution, it's not clear to me how to configure TDS to know anything about how to deploy files. I'm finding info on the web that says that TDS will deploy files, transform configs, etc but with no examples of how to actually make that happen.
How do I set things up so Deploy Solution will also deploy files from all of the web projects in a solution to my local web root?
First, you will need to make sure the Sitecore Deploy Folder is set. From the documentation:
Sitecore Deploy Folder – Contains the path to the ROOT of the Sitecore
instance on the file system. This setting is used to install the TDS
Classic service when needed and to deploy the compiled code when the
TDS Classic project is built.
You also need to make sure that file deployment has not been disabled:
Disable File Deployment – Stops TDS Classic deploying files to the
directory specified in the Sitecore Deploy Folder.
If you are still not seeing the files being deployed, you will need to check if the process has access to the deploy folder.
You can also deploy files as a .update package and then use another automated tool to deploy the .update package to the target environment.
I figured out the issue. On the properties page for a TDS project there is a field where you indicate which projects should be built and deployed along with the sitecore items:
https://www.hhogdev.com/help/tds/propgeneral

Configure a remote project

I am starting a Django project. I'd like to connect this project in such a way my partner could work remotly and we can see the trackings and modifications on that project. What do you suggest to set up those configurations?
The program is called git, its not necessary use GitHub, Bitbucket to deploy your Django project in a server, also you can have a version control of your project and work with your patner without problems. Read this to deploy your Django project https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks#using-git-hooks-to-deploy-to-a-separate-production-server and this is git https://git-scm.com/

CKAN missing datastore tab / upload options

I've followed install instructions from source in here:
http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html
And from here:
http://docs.ckan.org/en/latest/maintaining/datastore.html
I added the datastore entry in ckan.plugins setting.
I did Test the setup and it worked.
However, when editing/creating a resource in CKAN web interface, the datastore tab or upload to datastore option does not show up.
This a new install on a Ubuntu 16.04.
CKAN version 2.6.2
Any help is appreciated. Thanks.
UPDATE:
After installing datapusher, and trying to upload a resource in the DataStore tab, came up another error, which is specified in here: CKAN error upload to datastore (with datapusher)
Follow this link. It has datapusher installation for both developement and production installation (paster and Apache). And how to start datapsuher for respective servers
Don't forget to add Datapusher plugin and Datapusher URL in development/production.ini
Data Pusher Documentation
Not only datastore, you should also add datapusher in your .ini file, and you will be able to see Datastore tab from where you can upload resources on Datastore. Also in your .ini file you must set up ckan.storage_path location

Deployment with WebStorm (JetBrains) - sends only one file

I configure deployment setting in WebStorm to location on my VPS. When I'm trying deploy to VPS WebStorm sends only one file - index.html
I want to send all files (or recently updated like in version control).
I've checked configuration but can't find any settings let me choose file to send.
How to send all files to VPS?
Select the files and or folders you want to deploy in Project Files Alt + 1. Right-click and select Deployment -> Sync with Deployed to .... This will check the files and folders for differences with the remote host. Continuing with this dialog will upload (and download) the latest changes.
Be wary, this might take a while over FTP when processing large projects.

Export/Import Django project settings in PyCharm

Actually I have project with about 20 settings (Django server, Django tests, fabric tasks). Now I want to move my environment to other computer.
Is it possible to migrate all these configurations or should I create manually one by one in new PyCharm instance?
Yes there is. What you need to do, is copy everything in your project directory, including .idea folder, and pasting it to the new place that you want to place it.
Now, all you have to do is open the directory as a project using PyCharm in your new workstation.