ArdanaLabs / DanaSwapUI

Other
3 stars 3 forks source link

Ci to be able to deploy branches to a staging server #52

Closed nixinator closed 2 years ago

nixinator commented 2 years ago

For testing we need to be able to stage a new version for testing.

This should be put behind authenticaton (basic), or put on a hard to guess domain name , so inquisitive t ypes can't access a 'testing web site'.

maybe a domain name containing the commit hash , or a commit message , or just put behind our vpn.

Working on Idea's.

DarthPJB commented 2 years ago

For testing we need to be able to stage a new version for testing.

This should be put behind authenticaton (basic), or put on a hard to guess domain name , so inquisitive t ypes can't access a 'testing web site'.

maybe a domain name containing the commit hash , or a commit message , or just put behind our vpn.

Working on Idea's.

Provisioning a VPN network for this seems the logical approach. Thus developers can use something simple 'testing.danaswap' as a URI - and it will prevent outside access without authentication into the virtual network.

MatthewCroughan commented 2 years ago

@DarthPJB The people who want to see this content won't want to install software on their computer, they're investors and normal people, so I'm going to put it behind Basic HTTP Auth, meaning a simple shared username and password will allow access. This is only to prevent the internet at large from being able to view the website and writing articles about Ardana's work prematurely, which I think HTTP Auth will prevent.

If it doesn't, and is leaked, then we'll have something to write about on journal.platonic.systems, and will have to force people to use a VPN in future :smile:

DarthPJB commented 2 years ago

Ah, a different use case to what lee's description had me believe, testing != demo.

nixinator commented 2 years ago

I should of made it more clear.

However, staging, demo, test, or what ever you call it, it's quite possible with a little bit a research a .htaccess file can be added to keep web crawlers and nosy people who like to goto staging.mycompany.com

CSVdB commented 2 years ago

It seems this issue is completed and can be closed? :tada:

MatthewCroughan commented 2 years ago

@CSVdB Not until https://github.com/ArdanaLabs/DanaSwapUI/pull/70 and https://github.com/ArdanaLabs/DanaSwapUI/pull/71 are merged.