Skip to content

Compiling on Linux #67

Answered by jamesarbrown
jamesarbrown asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Thanks for that. I dont know if any use in the documentation, but here are the commands to get it started in a Alpine 3.19 LXC

Installing in LXC Container (Alpine)

apk update
apk add nano git yarn bash cargo perl-local-lib perl-module-build make 
cd /opt
git clone https://github.com/euzu/m3u-filter.git
cd /opt/m3u-filter/bin
./build_lin.sh
ln -s /opt/m3u-filter/target/release/m3u-filter /bin/m3u-filter 
cd /opt/m3u-filter/frontend
yarn
yarn build
ln -s /opt/m3u-filter/frontend/build /web
ln -s /opt/m3u-filter/config /config
mkdir /data
mkdir /backup

Creating a service, create /etc/init.d/m3u-filter

#!/sbin/openrc-run
name=m3u-filter
command="/bin/m3u-filter"
command_args="-p /config …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jamesarbrown
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants