A tool for drawing dynamic pictures based on data. Basically, a way for us to implement, experiment, and share the great ideas presented by Brett Victor in this talk (https://vimeo.com/66085662).
- Change
baseUrl
in FirebaseApi.js to point to your firebase. - In the Firebase dashboard, go to
Login & Auth
thenAnonymous
and enable anonymous authentication. - In your Firebase dashboard, go to
Security & Rules
and paste in the contents offirebaseSecurityRules.json
.
npm install
npm start
open http://localhost:3000
NODE_ENV=production npm install
NODE_ENV=production npm start
open http://localhost:3000
This will create a public directory where the build will go, you need to remove this directory when running development mode otherwise the server will serve from the public directory
First, install Heroku CLI if you haven't already. Then,
heroku git:remote -a datadrawer
git push heroku master
heroku open
Your changes will appear without reloading the browser as shown here.
You may want to change the host in server.js
and webpack.config.js
from localhost
to 0.0.0.0
to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.
- React
- Webpack
- webpack-dev-server
- babel-loader
- react-hot-loader
- font-awesome
- Immutable