Import a 3D Model and automatically assign and export animations
TypeScript
Add Dockerfile and docker-compose configuration for easy setup.
eternity336be0ec56dc594
diff --git a/Dockerfile b/Dockerfilenew file mode 100644index 0000000..aa2a53e--- /dev/null+++ b/Dockerfile@@ -0,0 +1,13 @@+FROM node:18.15-alpine++RUN apk add --no-cache git+RUN git clone https://github.com/scottpetrovic/mesh2motion-app.git /app++WORKDIR /app++RUN sed -i "s/open: !isCodeSandbox/open: false/" vite.config.js+RUN npm install++EXPOSE 3000++CMD ["npm", "run", "dev"]diff --git a/README.md b/README.mdindex 3d1bfc7..f2c1133 100644--- a/README.md+++ b/README.md@@ -33,6 +33,13 @@ We mostly just have typescript for this project, which web browsers cannot justnpm run build+## Running in Docker+For a quick start, ensure that both the Dockerfile and docker-compose.yaml are in your current directory. Then, simply execute the following command, and Mesh2Motion will be up and running in moments! This assumes you have Docker and Docker Compose already installed.++ docker-compose up -d++To try it out, visit http://localhost:3000, assuming you have Docker installed locally.+## Animator GuideAre you an animator who wants to help build out animations for this tool? This is by far my weakest skill, which is why I have been avoiding it. In the **static > blender** folder, you can see all the source Blender files where I have been working. There are a couple of model files where I just have the model, and other files that actually contain the animations. These are the files we can build animations into.diff --git a/docker-compose.yaml b/docker-compose.yamlnew file mode 100644index 0000000..31ef1be--- /dev/null+++ b/docker-compose.yaml@@ -0,0 +1,9 @@+version: '3.8'++services:+ mesh2motion-app:+ build: .+ container_name: mesh2motion-app+ ports:+ - "3000:5173"+ restart: unless-stopped