A decentralized car sharing application.
- Truffle
- Ganache-CLI
- Node.js
-
Clone this repository.
-
Enter into repository.
cd EasyCarRent
To run user interface, Run
npm run start
You will need to be running ganache-cli in one terminal instance and Truffle in a second one. This can be accomplished by opening 2 separate terminal windows or using a program like screen if you use a Linux based OS. After installing Truffle and ganache:
Terminal Window 1:
- Start ganache with settings to your liking (it is a good idea to unlock accounts when starting ganache-cli so you can more easily interact with the contracts).
Terminal Window 2:
- Compile smart contracts
truffle compile
- Migrate contracts
truffle migrate