chore: setup docker-compose

This commit is contained in:
Rotimi Best
2024-09-19 10:12:54 +01:00
parent b0c463d7fb
commit a28a0e8f92
10 changed files with 5618 additions and 7035 deletions
+18
View File
@@ -0,0 +1,18 @@
Dockerfile
.dockerignore
.git
.gitignore
.gitattributes
README.md
.npmrc
.prettierrc
.eslintrc.cjs
.graphqlrc
.editorconfig
.vscode
node_modules
build
package
**/.env
.pnpm-store
+3 -1
View File
@@ -35,4 +35,6 @@ yarn-error.log*
# vercel
.vercel
vite.config.ts*.mjs
vite.config.ts*.mjs
.pnpm-store/*
+1178 -868
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
Dockerfile
.dockerignore
.git
.gitignore
.gitattributes
README.md
.npmrc
.prettierrc
.eslintrc.cjs
.graphqlrc
.editorconfig
.vscode
node_modules
build
package
**/.env
.pnpm-store
+1
View File
@@ -8,6 +8,7 @@ yarn-error.log
/dist/
/cert/
package-lock.json
.pnpm-store/*
# Local Netlify folder
.netlify
@@ -37,7 +37,7 @@
"welcome_modal": {
"we_at": "We at",
"small_team": "are a small team with a large mission to empower educators with great technology to help them train the future generation. Education is the most powerful gift you can give anyone, and it makes so much sense to give you all the tools you need to give more people this GIFT.",
"small_team": "are a small team with a large mission to empower educators with great software to help them make an impact in people's lives. Education is the most powerful gift you can give anyone, and it makes perfect sense to provide you with all the tools you need to give this GIFT to more people.",
"thank_you": "Thank you for choosing us",
"deeply_appreciate": "we deeply appreciate it and are at your service."
},
@@ -28,25 +28,22 @@ export async function POST({ request }) {
const emailData = [
{
to,
subject: 'Thank you so so so much for choosing ClassroomIO!',
subject: 'Welcome to ClassroomIO!',
content: `
<p>Dear ${name},</p>
<p>My name is Best the CEO of ClassroomIO and I will personally like to welcome to the vibrant community of ClassroomIO!</p>
<p>My name is Best, the founder of ClassroomIO. I saw you signed up, any questions so far?</p>
<p>
We're thrilled to have you join us in shaping the future of education. Your decision to embark on
this journey with us is deeply appreciated, and we're genuinely excited about the possibilities
that lie ahead.
Would you like to get a walkthrough of the tool in a 30 minutes product demo? It's free and we won't try to sell you anything, just want to learn from your use case and show you all the cool features and flows we thought about.
</p>
<p>
Once again, welcome to the ClassroomIO family. We're here to help, to listen, and to celebrate
your successes. Get ready to unlock a world of possibilities in education!
</p>
<p>
If you have any question or face any issues just send me an email [email protected] 😃
Interested? just book a 30mn demo slot in our calendar!
</p>
<div>
<a href="https://app.classroomio.com">Go to Dashboard</a>
<a href="https://classroomio.com/demo">Book demo</a>
</div>
<p>
PS: I reply personally to every email. We don't have an outsourced support team at the other end of the globe.. ;-)
</p>
`,
isPersonalEmail: true
}
+3 -3
View File
@@ -12,7 +12,7 @@ services:
working_dir: /app/project
volumes:
- ./apps/backend:/app/project
command: npm start
command: sh -c "rm -rf node_modules && npm i && npm start"
ports:
- '3002:3002'
environment:
@@ -36,8 +36,8 @@ services:
image: node:18
working_dir: /app/project
volumes:
- ./apps/dashboard:/app/project
command: sh -c "npm install -g pnpm && pnpm install && pnpm build && pnpm start"
- ./:/app/project
command: sh -c "npm install -g pnpm && rm -rf node_modules && yes | pnpm install --frozen-lockfile && cd apps/dashboard && pnpm build && pnpm start"
ports:
- '5173:5173'
environment:
+3 -1
View File
@@ -13,6 +13,9 @@
},
"license": "MIT",
"packageManager": "[email protected]",
"dependencies": {
"turbo": "^1.10.16"
},
"devDependencies": {
"concurrently": "^8.2.2",
"cypress": "^13.8.0",
@@ -23,7 +26,6 @@
"standard-version": "^9.5.0",
"supabase": "^1.151.1",
"tsconfig": "workspace:*",
"turbo": "^1.10.16",
"typescript": "^5.1.6"
}
}
+4385 -6150
View File
File diff suppressed because it is too large Load Diff