Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Tipnos/rigidity-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSL rust installation :

for permission purposes run the following command in your UBUNTU bash and not one in your IDE :

  • sudo apt update
  • sudo apt install build-essential
  • sudo apt-get install -y libssl-dev
  • sudo apt install pkg-config
  • curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

When executing the following command you might encounter the following error mktemp: too few X's in template ‘rustup’

It might means that you've got no tmp folder in your root directory or that is read only.

Optionnal installation :

Postgres :

installation :

  • sudo apt-get remove postgresql
  • sudo apt-get install postgresql

Start service : sudo service postgresql start Connect to postgres : sudo -u postgres psql

create/alter user :

  • sudo -u postgres createuser
  • (in postgres prompt) alter user with encrypted password ''

Diesel postgres feature installation :

  • sudo apt install libpq-dev
  • cargo install diesel_cli --no-default-features --features postgres
  • diesel setup --database-url=postgres://postgres:password@localhost/postgres?sslmode=disable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published