Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm support #135

Closed
otrapersona opened this issue Jul 8, 2019 · 3 comments
Closed

Arm support #135

otrapersona opened this issue Jul 8, 2019 · 3 comments
Labels
Milestone

Comments

@otrapersona
Copy link

Hello, could you be so kind as to also build and release your great software for ARMv7 (which is what most single-board computers have on them):

In the readme is mention that

It's easy to install and light enough to run on a Raspberry Pi

However in the releases there's no arm option and the tutorial (as it states itself), only works for versions below 0.6.

@thebaer thebaer added the build label Jul 8, 2019
@thebaer
Copy link
Member

thebaer commented Jul 8, 2019

Yep, that's a great point. I've added an ARMv7 build for v0.10, and we'll continue doing that going forward.

(On this note, we'll release builds for all possible architectures starting with v1.0.)

thebaer added a commit that referenced this issue Jul 8, 2019
This makes it easy to build WF for ARMv7, e.g. the Raspberry Pi.

part of #135
@thebaer thebaer closed this as completed in e0666ba Jul 8, 2019
@thebaer thebaer added this to the 0.10 milestone Jul 8, 2019
@diazepan
Copy link

diazepan commented Jul 9, 2019

I wrote an updated tutorial in spanish
https://blog.pueseso.club/el-nuevo-tutorial-como-instalar-writefreely-en-una-raspberry-pi-3-ahora-en-13

What changes is the following:

  1. You have to install go 1.11+ (the installation uses the 1.11 modules), go-bindata, nodejs and the modules "less" and "less-plugin-clean-css"

  2. Execute "env GOARCH=arm GOARM=7 GO111MODULE=on go build github.com/writeas/writefreely/cmd/writefreely". It will fail because you have to compile the assets but this is for downloading the sources

  3. In the go/pkg/mod/github.com/writeas/writefreely/ directory, execute "make ui" and "make assets"

  4. Execute again "env GOARCH=arm GOARM=7 GO111MODULE=on go build github.com/writeas/writefreely/cmd/writefreely" and this time will work

@otrapersona
Copy link
Author

Yep, that's a great point. I've added an ARMv7 build for v0.10, and we'll continue doing that going forward.

(On this note, we'll release builds for all possible architectures starting with v1.0.)

I have had it running since the day you released it and everything seems to be working a-ok on raspbian, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants