Sign inSign up

miguelpeixe/impulsa-canvas

By miguelpeixe

•Updated about 6 years ago

Image
0

368

miguelpeixe/impulsa-canvas repository overview

⁠IMPULSA

⁠Electoral Canvas

Electoral Canvas built with react-flexcanvas⁠.

Electoral Canvas Example

⁠Features
  • Generate tiled and full format PDFs in A3, A2 and A1

⁠Installation
⁠Dependencies

⁠Clone and build

Clone the repository, install dependencies and start the server:

$ git clone https://github.com/institutoupdate/canvas.git
$ cd canvas
$ npm install
$ npm start

Starting the server will run babel server with nodemon, serving the client with webpack dev middleware with hot module replacement enabled.

Access http://localhost:8000/⁠


⁠Environment variables
  • NODE_ENV - Either development or production. Default to development
  • PORT - Port to start the server. Default to 8000
  • GA_TRACKING_ID - Google Analytics Tracking ID. Default to undefined

⁠Build and run for production

Build the server and client with npm run build and start the server with npm run serve.

Compiled server will be at dist/, while client will be compiled at public/.


⁠License

MIT

Tag summary

Content type

Image

Digest

Size

494.4 MB

Last updated

about 6 years ago

docker pull miguelpeixe/impulsa-canvas