You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Ayush Mukherjee 8cede069f7 add docker build steps 3 years ago
src init git 4 years ago
.env.example init git 4 years ago
.gitignore init git 4 years ago
Dockerfile add docker build steps 3 years ago
README.md add docker build steps 3 years ago
build.sh add docker build steps 3 years ago
index.html init git 4 years ago
package-lock.json add docker build steps 3 years ago
package.json init git 4 years ago
postcss.config.js init git 4 years ago
tailwind.config.js init git 4 years ago
vite.config.js init git 4 years ago

README.md

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.