Skip to content

SchoolTrips-Open-Source-Project/stosp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STOSP

Open source project for school trips

  1. install Cargo

  2. install diesel-cli brew install mysql-client After installing mysql-client If you need to have mysql-client first in your PATH, run: echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.zshrc

     For compilers to find mysql-client you may need to set:
     export LDFLAGS="-L/usr/local/opt/mysql-client/lib"
     export CPPFLAGS="-I/usr/local/opt/mysql-client/include"
    

cargo install diesel_cli

  1. diesel migration run
  2. cargo run-script start

to create migrations diesel migration generate <file_name>

Cargo Dependencies: 1. cargo-run-script 2. cargo watch 3. diesel