# Getting Started: Setting Up a Local Dev Environment - and related bug fixes

**URL:** https://publichappinessmovement.com/t/topic/1216
**Category:** Front End - Documentation
**Tags:** documentation, npm, local-dev-environmen, webdev, getting-started
**Created:** [25 April 2019 16:34 UTC](https://publichappinessmovement.com/t/topic/1216 "2019-04-25T16:34:56Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![msgfxeg](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/m/f07891/32.png) [@msgfxeg](https://publichappinessmovement.com/u/msgfxeg)
#### Post date: [24 November 2019 16:24 UTC](https://publichappinessmovement.com/t/topic/1216/13 "2019-11-24T16:24:42Z")

</div>

@AndyatFocallocal @zdbrenda  
At last I have managed to setup my local dev env and ran focallocal for the first time but there are a bit of strange things happening so kindly help me to fix those to be on the right track.

- I have setup everything according to the pinned post above. However setting the ‘mapType’: ‘[btm](https://brightertomorrowmap.com)’ runs the [btm](https://brightertomorrowmap.com) site not the focallocal one also ‘mapType’: ‘gatherings’ runs the gatherings site. So, I wonder what is the correct setting for Focallocal site?

- changing ‘mapType’: ‘\*’ runs versions of the site that seems to be older I think (I deduced that may be I am wrong) so please clarify.

- clicking on the big white arrow on the long dark gray bar does not take me to the local forum however gives a Error 522 connection timeout in all mapType cases as elaborated on the attached image below.  

- without touching anything the systems(i.e. maps) seems to be working in all mapType cases however, while running the npm tests I got 57 tests failing! If this is OK it is OK for me but if this is unusual kindly tell me what I may be doing wrong?

Kind Regards

---

_[View the full topic](https://publichappinessmovement.com/t/topic/1216)._
