# Error building writefreely from source

**URL:** <https://discuss.write.as/t/error-building-writefreely-from-source/1137>\
**Category:** Development\
**Tags:** writefreely\
**Created:** [February 24, 2020, 7:42pm UTC](https://discuss.write.as/t/error-building-writefreely-from-source/1137 "2020-02-24T19:42:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salimsaid](https://discuss.write.as/user_avatar/discuss.write.as/salimsaid/32/477_2.png) [@salimsaid](https://discuss.write.as/u/salimsaid)\
**Post date:** [February 24, 2020, 7:42pm UTC](https://discuss.write.as/t/error-building-writefreely-from-source/1137/1 "2020-02-24T19:42:51Z")

</div>

I am running `go version go1.13.7 linux/amd64` on ubuntu 18.04 with node `v12.13.0`

I followed the build guide from the [documentation page](https://writefreely.org/docs/latest/developer/setup)

followed all the steps , and when i got to the point where i need to run `make build` i get a an error. See below picture

 ![writefreely%20make%20build%20error](https://discuss.write.as/uploads/default/original/1X/9411b51401cb239eb4fb4e23cb1c1dca5ccb3089.png)

What am i missing ?

---

<div class="post-metadata">

**Author:** ![matt](https://discuss.write.as/user_avatar/discuss.write.as/matt/32/2760_2.png) [@matt](https://discuss.write.as/u/matt)\
**Post date:** [February 25, 2020, 12:51pm UTC](https://discuss.write.as/t/error-building-writefreely-from-source/1137/2 "2020-02-25T12:51:57Z")

</div>

Hey @salimsaid! Looks like you probably haven’t missed anything, but for some reason the `go-bindata` program wasn’t compiled right.

Usually “`Exec format error`” means the binary was built for another architecture (e.g. 32-bit vs. 64-bit) or another operating system. Maybe try something like this:

```auto
GOOS=linux GOARCH=amd64 go build -v github.com/jteeuwen/go-bindata/go-bindata

```

---

<div class="post-metadata">

**Author:** ![salimsaid](https://discuss.write.as/user_avatar/discuss.write.as/salimsaid/32/477_2.png) [@salimsaid](https://discuss.write.as/u/salimsaid)\
**Post date:** [February 26, 2020, 7:55pm UTC](https://discuss.write.as/t/error-building-writefreely-from-source/1137/3 "2020-02-26T19:55:14Z")

</div>

Hey @matt , thanks for sharing the build snippet,

It turned out that the `go-bindata` library was not installed. I installed by running below on the terminal

 ![build%20pass%20writefreely](https://discuss.write.as/uploads/default/original/1X/55cda9f992e2294f28ffb91fd09ee5d0e90b9b2d.png)

Finally build make && build run worked just fine.

I now have a writefreely instance running in development mode.

One more thing though, As i have the code & a running development instance, the next thing is to go through the code and try to understand how pieces fit together.

Is there like a design document that i can refer to ? To quickly understand the architecture of writefreely ?
