Skip to content

Kmoneal/acbidder-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdChain Bidder Database Manager

NOTES

Must have diesel-cli installed

sudo apt-get update
sudo apt-get install mysql-server libpq-dev libmysqlclient-dev sqlite3 libsqlite3-dev
cargo install diesel_cli

Must have your own .env file containing (DATABASE_URL=mysql://username:password@localhost/acbidder_database)

echo DATABASE_URL=mysql://username:password@localhost/acbidder_database

Must have clean tables for running tests

diesel setup
diesel migration run

or

diesel migration redo

Must change the account and registry address in adchain_registry.rs

Must do tests using 1 thread

cargo test -- --test-threads=1

About

Crate for the database support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages