No description
Find a file
2021-06-24 16:55:20 +05:30
src init git 2021-06-22 16:02:27 +05:30
.env.example init git 2021-06-22 16:02:27 +05:30
.gitignore init git 2021-06-22 16:02:27 +05:30
build.sh add docker build steps 2021-06-24 16:55:20 +05:30
Dockerfile add docker build steps 2021-06-24 16:55:20 +05:30
index.html init git 2021-06-22 16:02:27 +05:30
package-lock.json add docker build steps 2021-06-24 16:55:20 +05:30
package.json init git 2021-06-22 16:02:27 +05:30
postcss.config.js init git 2021-06-22 16:02:27 +05:30
README.md add docker build steps 2021-06-24 16:55:20 +05:30
tailwind.config.js init git 2021-06-22 16:02:27 +05:30
vite.config.js init git 2021-06-22 16:02:27 +05:30

One.com Asana Incidents Viz

This is a single page application written using React and Tailwind css, and uses (Vite JS)[https://vitejs.dev] as the bundler/dev server.

This project heavily relies on the Asana v1.0 API and thus any changes to the API will result in a non-functioning viz tool.

Development setup

  1. Clone this repo
  2. Install node dependencies: npm install
  3. Copy the .env.example file as .env.local and fill in the required values.
  4. Run the local dev server: npm run dev
Note: Asana API URI can be set as https://app.asana.com/api/1.0

Deployment

  1. Clone this repo
  2. Install node dependencies: npm install
  3. Either follow step 3 from the development setup OR provide the same variables to the build context
  4. Run the build command: npm run build
  5. Deploy the dist directory to any web server of your choice

Docker Build

This app can be built using docker!

  1. Clone this repo
  2. Run docker build -t oneviz .
  3. Run `docker run -it --rm -v $(pwd)
  4. Deploy the dist directory to any web server of your choice
Note: Make sure you don't copy the node_modules folder if you are making a zip.

License

This project is licensed under MIT.