- Requirements
- LEMP stack running
- Laravel framework
create the database table and add your database credentials to .env file
cd server composer install yarn install cp .env.example .env php artisan key:generate
to run the server locally, in development mode:php artisan migrate
php artisan serve
- Open the connetions.png for arduino wire connections
- Install mfrc522 library in arduino IDE
-
Requirements
- NodeJS v8.4.0
- Yarn 0.27.5
-
Installation
cd blockchain yarn install
-
Running
- Start Ethereum test RPC
node_modules/.bin/testrpc
- In a new terminal compile and run contracts
node_modules/.bin/truffle compile node_modules/.bin/truffle migrate
- Run truffle console and in there interact with contracts
-
Metamask Plugin https://github.com/MetaMask/metamask-extension/releases (https://metamask.io/#how-it-works)