Shine.me
// start the project locally
npm run dev
// Start up a new server with another port
./node_modules/lite-server/bin/lite-server -c bs-config-8181.json
Full nodes on the cloud:
https://shineme1.us-south.cf.appdomain.cloud/
To add photo
App.updateStore({'1': {
"id": 1,
"bib": 1617,
"url": "https://marathon-pictures.s3.amazonaws.com/pictures/7062968.jpg",
"photographer": "abc123"
}
});
App.updateStore({'2': {
"id": 2,
"bib": 1617,
"url": "https://marathon-pictures.s3.amazonaws.com/pictures/30756445.jpg",
"photographer": "abc123"
}
});
App.updateStore({'3': {
"id": 3,
"bib": 576,
"url": "https://marathon-pictures.s3.amazonaws.com/pictures/30756445.jpg",
"photographer": "abc123"
}
});
App.updateStore({'4': {
"id": 4,
"bib": 808,
"url": "https://marathon-pictures.s3.amazonaws.com/pictures/36587834.jpg",
"photographer": "abc123"
}
});
App.updateStore({'5': {
"id": 5,
"bib": 95,
"url": "https://marathon-pictures.s3.amazonaws.com/pictures/84664282.jpg",
"photographer": "abc123"
}
});
App.updateStore({'6': {
"id": 6,
"bib": 17326,
"url": "https://discovertulsa.net/wp-content/uploads/2020/10/119881848_10158889024760152_1891659101498962611_o.jpg",
"photographer": "ray"
}
});
Deploy smart contract to a network
truffle compile
// Add deployment script under migrations/
truffle migrate --reset --network ropsten