Nsustain / nsustain.com

🌳 Source code for Nsustain.com
https://nsustain.com
MIT License
3 stars 0 forks source link

Add development port #33

Closed soobinrho closed 2 years ago

soobinrho commented 2 years ago

Describe the solution you'd like Port 443 and 80 will be used for regular traffic. We'll open another port, probably 81, for testing purposes.

So, regular testing/development process might look like this:

  1. Make changes on development branch.
  2. Test it on local server.
  3. After testing on local server looks satisfactory, manually upload it to nsustain.com:81 -- notice that while the main branch is automatically deployed to nsustain.com via CI/CD, develop branch is not automatically deployed. It's only manually deployed, and after testing is done, it will be taken down

Nevertheless, I recognize that there might be a better, more secure workflow, in which case we'll absolutely make the switch.