How to shift odoo website from locahost to live server without restoring complete database? - odoo

A client has a live website with data and he just want to upgrade the website design, without effecting the live data. He asked me to build website on a local server or a a different instance on same hosting and then shift that design to the live instance.

With Odoo you can build the website as an own extensions and build all the content / design part with the xml/qweb templates. So yes, you build up the extension and then just upload this extension on the server and install it there.

Related

How can I built a standalone windows desktop application ,where I don't need to install any server additionally on client's machine?

I am developing desktop app using wpf mvvm,however I am confused as to how should I proceed with developing standalone application using sqlite,sql server compact etc
If you need a database (really need a database), I suggest using Entity Framework using the code first approach. This can create a local database for the application w/o the need of a database server.
However, strongly consider if you could just use files in the file system. It is amazing how much you can load into memory and if you want this to run on client machine, you likely don't have so much data that you can't just load the data into memory.
SQL Server Compact requires a separate installation step with administrative credentials.
SQLite is a library that can be compiled directly into the application.
In the case of .NET, it is a part of the System.Data.SQLite package, so it is automatically available when your application is shipped with this package (see SQLite deployment for .net application).

RavenDB automation - RESTful way to add users to system db for Windows Authentication?

Situation:
Automated commercial RavenDB 3 server install & configuration on Amazon EC2 to a standalone server (no active directory domain). Local Windows users are automatically created.
Problem:
Using the HTTP client API, how to add local windows users to the Raven/Authorization/WindowsSettings document of the system database?
Reference:
The docs describe a method using the Studio to achieve this:
https://ravendb.net/docs/article-page/3.0/http/server/configuration/authentication-and-authorization
The document is just that, a standard RavenDB document. You can operate on that using the standard JSON REST endpoints to manipulate it.

IBM Mobile First Direct Update from local machine

I am working on a project in IBM MobileFirst. My question is regarding Direct Update.
Is it possible to receive direct update if I build/deploy my application from one machine to Mobile and point the server that is in another machine (Production machine)?
If not what should I do to receive Direct Update from Production machine.
Thanks in advance.
Your application can point to any MobileFirst Server you want, as long as that server has the application's .wlapp file deployed on it in order to register the application there (assuming also the server is properly configured to serve that application (adapters, authenticationConfig.xml, etc).
You can then deployed updated .wlapp files to that server, and it'll serve Direct Updates to registered applications.

How to move a windows .net runtime frontend application to the cloud (it uses a local sql server backend database)

I had a engineer design our .net application back in 2009, my guess is that it was coded using visual studio, and all I have is the installer application. We have been using it on our 1 or 2 local client machines very well for the past few years, but now I want to move this front end to the cloud. Instead of installing it as an application on our windows 7 machines.
It is a very simple application used in our small warehouse that keeps track of cargo/shipments etc. It uses Sql Server 2008 Express as a backend which is stored locally.
I know how to get the database in the cloud, their are many options for that, using Amazon or Azure, but how do i get the local client application to the cloud?
I dont have access to the visual studio code, i just have the runtime executable file..
I am sure there is no way to do this, and many of SO users will say i need to re-write the front end.
I have tried to contact the developer and they hav since closed down. Is their anyway i can run this in the cloud?
I welcome all options and solutions!
Thanks.
I believe you have two options for hosting this application:
If you are able to configure the database connection string, you could host the database in the cloud, and distribute the application to your end users. However, you've already stated that you know how to move the database, so I assume this isn't an option.
The only alternative is to run the entire application on a cloud server, and send the user interface to a client using terminal services. This makes it appear as if the application is running locally on the user's computer, while it is actually running on the server.
For an off-the-shelf solution to achieve this, you could consider using Microsoft's RemoteApp Azure service. I'm sure there are other similar offerings available.

Web Deploy does not update SQL database schema changes

I am newer to Visual Studio 2012 and MVC4, and have a development project of a website using C# and MVC4 and SQL server 2012.
The Publish using web deploy works for the website portion of the project, but it does not automatically update the database portion (schema). If I right click the database portion of the project in VS2012 and click Publish, then the database schema is updated properly. I am only interested in schema updates. What could be wrong?
I programmed my development system to use Web Deploy 3.0. Here is a summary of my configuration:
Computer running win8 x64
SQL Express 2012 as my database server, running as the default instance (i.e. at localhost, NOT as .\SQLEXPRESS)
IIS Express 8 as my webserver, using the "Default Web Site" site (localhost)
Visual Studio 2012 Pro using MVC4 and C#
Web Deploy 3.0
The latest dates are all applied to the software
I programmed an SQL server user WDeployAdmin for managing the database updates and gave it full permissions over the database being used for the website. I also tried using Integrated Security (my administrator login) but that does not help.
I can correctly update the Default Web Site (views and controllers etc) using the Publish feature in VS2012 which uses Web Deploy 3.0.
When I use the Test Connection feature of the publishing setup options, it correctly connects to the database, and that certainly works fine when I do a separate Publish DB operation (right-click DB project, click Publish, and then pick my profile) for that part of my project.
So why doesn't the standard website Publish feature include the database schema updates? The standard website Publish always shows an empty change to database when the schema changes (e.g. a table or a stored procedure).
I have read through much MS docs but nothing is apparent to me.
Any help is appreciated,
Bruce