Skip to content

A network of blog written in Rust for blogchain clients

Notifications You must be signed in to change notification settings

zikwall/blogchain-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blogсhain Rust

Requirements

Windows

  • Microsoft Visual C++ 2015-2019 Redistributable
  • lmysqlclient or another database packages (pg, sqllite)

Linux

  • build-essentials
  • libmysqlclient-dev or another database packages (pg, sqllite)

Database

  • $ mysql> CREATE USER 'blogchain'@'localhost' IDENTIFIED BY '123456';
  • $ mysql> GRANT ALL PRIVILEGES ON blogchain . * TO 'blogchain'@'localhost';
  • $ mysql> FLUSH PRIVILEGES;

Development

  • $ rustup default nightly | rustup override set nightly
  • $ cargo install diesel_cli --no-default-features --features "mysql"
  • $ echo DATABASE_URL=mysql://blogchain:123456@localhost/blogchain > .env
  • $ cargo run

About

A network of blog written in Rust for blogchain clients

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages