Tuesday 27 November 2018

Private dev site to share with team: Git and express-basic-auth?

I'm currently developing on a local machine and want to create a development or test site I can use to share with a couple other developers. I'm planning on using dev.mysite.com, but was wondering what the best practice is to prevent this from being indexed by Google or being seen or accessed by anyone.Would it make sense to install Git on the dev server, production server, and my local machine, push changes from local to the dev server for review, then to the production server when testing is complete?Is it okay to have the dev and prod sites on the same server but in different folders, instead of configuring a whole separate server for dev? Any advantages or disadvantages to this?Is it okay to use express-basic-auth with the challenge option to prompt for a username and password, and will that be enough to prevent indexing and access?Thanks

Submitted November 27, 2018 at 03:38PM by veryfloppydisk

No comments:

Post a Comment