this post was submitted on 16 Jan 2024
5 points (100.0% liked)

Technology

37719 readers
80 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Hi! I'm trying to set up faircamp which is like a bandcamp alternative. If I'm understanding correctly it's a self-hosted static site. I'm new to all this. I'm on a mac, so I've installed Brew and then installed Faircamp using Terminal. It's currently pointing to "Audio Music Apps" folder which is full of audio plugins and such. I can't seem to figure out how to point it to a faircamp folder? Does it matter where the faircamp folder is?

I think I am building "from source". A different guide said to install a virtual linux but I don't have the necessary space to install all that.

This is what I've been working from: https://simonrepp.com/faircamp/manual/getting-started.html

top 7 comments
sorted by: hot top controversial new old
[–] melmel@lemmy.blahaj.zone 4 points 10 months ago

If you’re working from something like my tutorial here, all the Linux instructions and commands will be the same using Brew + Terminal :)

https://meljoann.com/posts/faircamp/

[–] melmel@lemmy.blahaj.zone 3 points 10 months ago (1 children)

Hello! If you’ve installed it with brew, you have faircamp working (no need for Linux). Are you familiar with Terminal? And how to use “cd” to move around? Is that what you mean by “point it to” your faircamp folder? For example, you would just type “cd /path/to/your/faircamp/folder”

It doesn’t matter where the faircamp folder is, it will build the site wherever you run the faircamp —preview command. (Sorry my phone isn’t formatting this correctly, there are two hyphens before “preview” 😆)

[–] toothpicks@beehaw.org 2 points 10 months ago (1 children)

Hi, yes, thank you so much. Your guide is super helpful. I was having some trouble with the cd part and I didn't understand that the --preview command was supposed to build it. So I got that working. Right now I'm trying to make the .eno files, but it keeps giving me an error. This might be out of your area of knowledge. I tried using nano and using text edit in mac. I haven't been able to get xcode yet because I don't have a new enough version of macOS and I haven't figured out how to get my hands on an older version of xcode. Anyway this is what it's saying when I try to use the .eno: (The continuation in line 80 is not contained within a field. ('\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fmodern\fcharset0 Courier;}'))

If I go in to edit the .txt or .eno there's none of that there, I don't even have a line 80 in my file.

Thank you!

[–] melmel@lemmy.blahaj.zone 2 points 10 months ago* (last edited 10 months ago) (1 children)

Hm, if it thinks the font is Courier my guess is TextEdit is adding a file extension (like .rtf or something)

It needs to be just a .eno … maybe it’s like .eno.txt ?

You might be able to check that from Finder? But if not, you can see exactly what’s in your Faircamp folder (once you have used cd (current directory) to get in there) with this command:

ls

which lists everything in your current directory

[–] toothpicks@beehaw.org 2 points 10 months ago (1 children)

Thanks! I ran the ls command and it says it is a .eno. I even tried typing out the whole thing from scratch in nano just to make sure there was no formatting being copy/pasted. I'm at a loss here haha.

[–] melmel@lemmy.blahaj.zone 2 points 10 months ago (1 children)

That’s very weird! So you get the error message when you run faircamp --preview after editing your .eno?

And is there one .eno in your “Artist Name” folder, and another .eno in each “Release” folder?

If you’re on Mastodon or similar, I recommend the #faircamp tag, loads of us try to help out on that! There may be someone more familiar with faircamp on Mac & brew who can help…

If not, you could try making an issue here: https://codeberg.org/simonrepp/faircamp/issues

[–] toothpicks@beehaw.org 1 points 10 months ago

Thanks, I got it working, I think I must've opened it up with text edit to double check it and the formatting got added and that messed it up. Or I had a stray old .eno file somewhere within the folders. Or both. I'm not on mastodon just yet but that's good to know. Thank you!