I want to maintain a zope page template as a file in svn and upload it to zope whenever it changes. I can of course upload it through the zope management interface, but I need to automate that procedure. Is there a way? My system is zenoss-2.5.2 on zope 2.11.
Related
I am working on customizing the oracle service cloud customer portal, but since OSvC provides only WebDAV to connect to it. It is very time-consuming to edit files and then upload them to WebDAV even for a single word change.
I am looking for a solution to serve it locally make desired changes and then upload the desired code to webDEV.
But after searching the file structure I can not make which framework it uses, I tried to use websites like https://builtwith.com/ and WhatRuns but they are also not able to find anything useful.
Although after searching in the file structure, I find some files of CodeIgnitor but the structure is way more different than the CodeIgnitor folder structure.
The short answer is no, you will not be able to run Customer Portal locally. While it is a fork of CodeIgniter from many years ago, there are server-side dependencies that will prevent you from running it in a local sandbox.
That said, it is possible to automate many of the manual tasks of interacting with WebDAV for change testing. If you edit locally, then you can use scripting hooks or event RPA robots to automate some of the manual file movement. Personally I have a flow to edit remotely in my test environment with an editor (like VSCode or Nova) that can connect to a remote server via WebDAV and edit files directly in the development area of a site. Then, when finished, I have a script that pulls down the latest version of all files and then allows me to commit changes to Git for SCM.
Another option is RPA. You can develop a robot that can be run to automate the manual tasks that you face in your workflow. Personally, I think that scripting is a better solution than RPA since you can automate all of the actions via scripting or a shell. But, it's another option to consider.
Another way of "Live editing" the OSvC CP code is to connect to WebDav via a software that supports it like Mountain Duck which uploads your code to OSvC on save.
OR use the better solution Windows Explorer which supports connecting to WebDav and treating it like a network drive, by going on My Computer -> Computer -> Map Network Drive then put https://yoursite.custhelp.com/dav/cp click Next then you'll be promoted to login using your OSvC login.
I'm currently working in a POS system and i'm writting the code in net core(web api) with vue as spa and mssql for my database.
I thought at first to use some storage service like aws-s3 or azure-storage ones to fetch the images from there, but I couldn't keep on going that way because there were extra costs, so I was requested to upload images to server better. So, now i'm having an issue and is that, the vue app has to be precompiled by babel when going to publish and therefore i can't changes the files in dist folder when running, so when i do it on dev stage (my machine) I see it working as good as possible, file uploads to folder ok and after compiling back, it will show the image. But, how do I accomplish this in prod stage?
I uploaded a front-end mapping platform on Github Pages which I developed with vue.js + vue2leaflet.
The thing is, on my local environment I consume the data on the map from my local database.
With Github pages only hosting my front-end, I wanted to consume a .xlsx file instead of the database. But I cannot expose this file on github since it has sensible information.
The github repository is this. (Currently consuming a api just to showcase.)
The GithubPage is using the gh-pages branch. I deploy after building it and pushing the dist folder to this branch.
I am completely new to SAP netweaver in fact SAP. I am working in a project which is based on Java/J2ee(JSF, Icefaces) and SAP netweaver combination. Currently, we are building/deploying the application using ant, for every small change in jspx file or some html file, we have do re-build.
Just wanted to know, if I can browse the deployment location like other application servers(Jboss,tomcat,weblogic) and manually deploy the respective changed file. Any possibility.
Does it have hot deployment. I am using SAP J2EE engine/7.00.
Any ideas or approach to make it quickly deploy.
You can update JSPs, html, and those type of resources by copying them directly into the web app's working directory. Mine, for example, is /usr/sap/(sid)/J00/j2ee/cluster/apps/(vendor)/(appname)/servlet_jsp/(webapp_root)/root/(your jsps are here).
Note, however, that you will lose those changes if you restart the app server instance because it will reload your application from the database.
How can I create a new webapp in Yii Framework without ssh access?
I'm following the tutorials, bui I don't have ssh access to the server.
Thanks!
Just download one of the demos like the blog and remove all the Controllers, Models, and Views. You may want to leave the SiteController and site views. Then upload them via ftp.
Or you could install WAMP or something like it on your computer run the command line tools, to create site locally. Then upload files.