Skip to content

5joshi/5bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fivebot

Database changes

$ sqlx migrate revert
$ psql -U postgres -d dev
> DROP table _sqlx_migrations;
> \q
$ sqlx migrate run

Cross Compilation for Raspberry PI

Change database, change global/client commands

$ sudo /etc/init.d/postgresql start
$ export OPUS_LIB_DIR=/mnt/c/Users/5joshi/libopus/
$ export OPUS_NO_PKG=1 
$ export OPUS_STATIC=1
$ cargo build --release --features vendored-openssl --target arm-unknown-linux-gnueabihf
$ scp /target/arm-unknown-linux-gnueabihf/release/fivebot [email protected]:/home/pi/Desktop

Running on Raspberry PI

$ ssh [email protected]
$ tmux new -s fivebot
$ cd Desktop
$ ./fivebot
# ctrl+B - D -- to leave tmux session
# tmux attach -t fivebot -- to enter tmux session

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published