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 | 3 years ago | |
---|---|---|
src | 4 years ago | |
.env.example | 4 years ago | |
.gitignore | 4 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
build.sh | 3 years ago | |
index.html | 4 years ago | |
package-lock.json | 3 years ago | |
package.json | 4 years ago | |
postcss.config.js | 4 years ago | |
tailwind.config.js | 4 years ago | |
vite.config.js | 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
- Clone this repo
- Install node dependencies:
npm install
- Copy the
.env.example
file as.env.local
and fill in the required values. - Run the local dev server:
npm run dev
Note: Asana API URI can be set as https://app.asana.com/api/1.0
Deployment
- Clone this repo
- Install node dependencies:
npm install
- Either follow step 3 from the development setup OR provide the same variables to the build context
- Run the build command:
npm run build
- Deploy the
dist
directory to any web server of your choice
Docker Build
This app can be built using docker!
- Clone this repo
- Run
docker build -t oneviz .
- Run `docker run -it --rm -v $(pwd)
- 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.