# Fix our Testing Server

**URL:** https://publichappinessmovement.com/t/topic/2575
**Category:** Sys Admin, Backend, DB and Security
**Tags:** testing-server, sprint
**Created:** [28 June 2021 22:37 UTC](https://publichappinessmovement.com/t/topic/2575 "2021-06-28T22:37:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [28 June 2021 22:37 UTC](https://publichappinessmovement.com/t/topic/2575/1 "2021-06-28T22:37:52Z")

</div>

Our testing server is down and not running.

Url: [https://testing-happiness.ga](https://testing-happiness.ga)

Live Branches

- Master:  
[https://testing.publichappinessmovement.com](https://testing.publichappinessmovement.com)  
[https://testing-maps.publichappinessmovement.com/](https://testing-maps.publichappinessmovement.com/)
- Deploy-phm:  
[https://publichappinessmovement.com/](https://publichappinessmovement.com/)  
[https://fl-maps.publichappinessmovement.com/](https://fl-maps.publichappinessmovement.com/)
- Deploy-[btm](https://brightertomorrowmap.com)  
[https://brightertomorrowmap.com/](https://brightertomorrowmap.com/)  
[https://fl-maps.brightertomorrowmap.com/](https://fl-maps.brightertomorrowmap.com/)

Hosting domain unknown. @zofrex do you know where the domain is registered and the settings hosted?

* * *

Here’s the basic setup guide for a Discourse forum: [Setting up Discourse via the admin section after launching a new site](https://publichappinessmovement.com/t/topic/1896)

* * *

Here is a discussion about an issue with the SSO settings which we struggled with: [SSO for Brighter Tomorrow Map - #12 by AndyatFocallocal](https://publichappinessmovement.com/t/topic/1853/12)

We use Discourse as an single sign on provider for our React apps. This works fine on both live sites but the setup didn’t work on the testing server.

@JFort here’s the issue we discussed

---

<div class="post-metadata">

### Author: ![JFort](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@JFort](https://publichappinessmovement.com/u/JFort)
#### Post date: [28 June 2021 22:40 UTC](https://publichappinessmovement.com/t/topic/2575/2 "2021-06-28T22:40:21Z")

</div>

This is good

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [15 July 2021 12:44 UTC](https://publichappinessmovement.com/t/topic/2575/3 "2021-07-15T12:44:53Z")

</div>

We were able to use this for testing, but none of us were ever able to login. I think i’ve worked out why, it doesn’t have its own DB set up or secrets file.

So we’d need to set up a new domain. Ask @zofrex or @tmcnulty to create a new secrets file and point it at the new DB.

This new server would be in a new “Testing Server” branch, so we can test things out there. Then if approved move them to Master. Then Merge the changes with the live sites.

I think its also a good idea to point another live site at Master, so Master becomes a staging area to check changes on a deployment copy site, and isolated from possible interference from others testing code on the testing server.

Testing Server → Master → Live Sites  
(sandbox) → (staging area) → (individual site branches)
