News for hackers. Stuff that matters.

Ask HN: How are enterprise web apps distributed?

Hey,

I have built a web application for a company and initially I wanted to host it on my servers and provide them access via a login and password. The company is insisting that the software and its data must live on their servers.

The web application is coded in Django with Postgres as the database. How do I distribute the application on their server without giving away the source code?

And in general, how are enterprise applications distributed? And how are updates provided?

Thanks!

( 5 comments | 2 points | on HN )
Re:Ask HN: How are enterprise web apps distributed? by jfroma on Sunday April 26, 2015 @08:04AM (#9441476)
The way it have worked well for us is to give them a VM image (ovf) as a blackbox. Look at github enterprise for example.

Edit

Regarding protecting your code do it legally first by contract, then look at code obfuscation tools for python.

Re:Ask HN: How are enterprise web apps distributed? by rashoodkhan on Sunday April 26, 2015 @09:47AM (#9441728)
Alright. I will try the VM method and see how to go about it. Thanks!
Re:Ask HN: How are enterprise web apps distributed? by byoung2 on Sunday April 26, 2015 @07:38AM (#9441413)
If you call it a SaaS app, they will understand that it lives on your servers.
Re:Ask HN: How are enterprise web apps distributed? by rashoodkhan on Sunday April 26, 2015 @09:48AM (#9441732)
Initially it was supposed to be that way. But some of their clients don't want any data living outside the country, hence they want to use their own server for storing the data.
Re:Ask HN: How are enterprise web apps distributed? by jtfairbank on Sunday April 26, 2015 @10:46PM (#9444171)
Could you just find a host in their country?