I am developing a website for my own company. To do so I have 2 servers:
- Server 1: a development server where I upload and test files. I use Adobe Dreamweaver CS6 to put and get files I am working on; I myself work on MAC OS;
- Server 2: a production server where accepted files are put into production
Both servers run Ubuntu 14.04.
I recently looked into creating a debian package on the development server. I followed this guide to create one. It seemed to go well and all except that I don't want my package to be grabbed by everyone on the internet by putting it on the Ubuntu public package archive.
This package should contain all the php/javascript/stylesheet files I created and tested on Server 1. On the production server (Server 2) I was hoping on the possibility to apt-get install my-package-name once a new feature on Server 1 is fully tested and accepted. I understand that this is only possible with packages uploaded to the Ubuntu archive.
My question therefor is: it possible to create a private archive/repository so that I can apt-get install my package on the production server from the development server? Or is there a different and/or better way to update the files on the production server after testing?