Skip to content

GoldmanDAO/rust_server_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

First go with cargo build, you may run into some issues with thediesel library, no worries I got you covered.

If you don't have it already install postgresql on your machine.

On Mac -> brew install postgresql

Then go and run

cargo install diesel_cli --no-default-features --features postgresql
echo DATABASE_URL=postgres://username:password@localhost/diesel_demo > .env
diesel setup

Run

Use watchexec for hot reloading the project (still need to manually reload the browser)

watchexec --restart -- cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages