Barter_Facilitator
An application that facilitates barter over TOR and it figures out the value of products.
the mysql version I use is: 8.0.42-0
I have no intention of adding addon mod support to this application because I want every possible thing for this app to be in the base app.
The instructions are used for Linux Mint so look for differences with your OS and adapt these instructions to your OS
Prerequisites for Rust and Application
- Install rust from here: https://www.rust-lang.org/tools/install
- The application has no database_url so you are going to have to type it in and there are instruction and/or helpful comments in the Barter_Facilitator.rs file
Prerequisites for Barter_Facilitator database
- type this in terminal then enter: sudo apt install mysql-server
- if installation screen asks to continue press y then enter
- type this in terminal then enter: sudo mysql_secure_installation
- if installation screen asks to validate with password press y then enter
- choose password validation level then enter
- create password then confirm password, the password must not be empty, then enter
- press y to confirm with password then enter
- when asked to remove anonymous users type n then enter
- when asked to dissallow remote login type n then enter
- when asked to remove test database type y then enter
- when asked to reload privelege tables type y then enter
- The database file provided to you must be in var/lib/mysql
Prerequisites for Barter_Facilitator database connection
- type this in terminal then enter: sudo apt install tor
- type this in terminal then enter: sudo systemctl start tor
- Add this to torrc file at the very bottom of config file, the HiddenServiceDir and HiddenServicePort parts are 2 different lines: HiddenServiceDir /var/lib/tor/mysql_service/
HiddenServicePort 3306 127.0.0.1:3306
- type this in terminal then enter: sudo systemctl restart tor
- type this in terminal then enter: sudo cat /var/lib/tor/mysql_service/hostname
- copy the result and paste it into a file called for example my mysql onion address.
How to compile Barter_Facilitator
- Put this in the terminal first then press enter except the stuff that is in parentheses and parentheses: cd directory(directory must be unique to those 2 files and that will be your project folder) with Barter_Facilitator.rs and Cargo.toml file
- Put this in the terminal then press enter except the stuff that is in parentheses and parentheses: cargo build (for fast compilation but not efficent application) or cargo build --release (for efficent application but not fast compilation)
- The executable file will be in your project folder in /target/debug directory
- To open the executable you just drag the executable into your terminal right after the word torsocks and there must be a space between torsocks and directory, and press enter unless you are already in part of the directory in your terminal, For Example: the executable is /etc/executable and you are already in /etc/ then you type in just type in executable, torsocks is still needed.
Repository Page
Home Page