add fedora build instructions

This commit is contained in:
twisterarmy 2024-12-29 17:48:42 +02:00
parent 44684e7be5
commit b19e2c3bb9
2 changed files with 31 additions and 3 deletions

View File

@ -2,8 +2,8 @@
<http://www.twister.net.co>
Bitcoin Copyright (c) 2009 - 2013 Bitcoin Core developers
libtorrent Copyright (c) 2003 - 2007, Arvid Norberg
Bitcoin Copyright (c) 2009 - 2013 Bitcoin Core developers
libtorrent Copyright (c) 2003 - 2007, Arvid Norberg
twister Copyright (c) 2013 - 2018 Miguel Freitas
## What is twister?
@ -25,6 +25,7 @@ Please follow the instructions for your platform:
- [UNIX](https://github.com/twisterarmy/twister-core/blob/twisterarmy/doc/build-unix.md)
- [Debian/Ubuntu](https://github.com/twisterarmy/twister-core/blob/twisterarmy/doc/building-on-ubuntu-debian.md)
- [Fedora](https://github.com/twisterarmy/twister-core/blob/twisterarmy/doc/building-on-fedora.md)
- [OS X](https://github.com/twisterarmy/twister-core/blob/twisterarmy/doc/build-osx.md)
- [Windows (untested)](https://github.com/miguelfreitas/twister-core/wiki/Compiling-for-Windows)
@ -197,4 +198,3 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
See [COPYING](COPYING)

28
doc/building-on-fedora.md Normal file
View File

@ -0,0 +1,28 @@
# Fedora building instructions
Tested on:
- Fedora 41 amd64
## Install
1. sudo dnf install git autoconf libtool make boost-devel openssl-devel libdb-cxx-devel miniupnpc-devel automake
2. git clone https://github.com/twisterarmy/twister-core.git
3. cd twister-core
4. ./autotool.sh
5. ./configure (on ARM architectures, run: `./configure --with-boost-libdir=/usr/lib/arm-linux-gnueabihf --disable-sse2`)
6. make
## Configuration & web gui
1. mkdir ~/.twister
2. echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf
3. chmod 600 ~/.twister/twister.conf
4. git clone https://github.com/twisterarmy/twister-html.git ~/.twister/html
5. cd ~/.twister/html
## Start
1. cd twister-core
2. ./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1
3. Open http://127.0.0.1:28332/index.html and use the user/pwd credentials
4. Create your account !