.prod | ||
public | ||
src | ||
.eslintrc.cjs | ||
.gitignore | ||
components.json | ||
drizzle.config.ts | ||
env.example | ||
next.config.js | ||
package.json | ||
pnpm-lock.yaml | ||
postcss.config.cjs | ||
prettier.config.js | ||
README.md | ||
tailwind.config.ts | ||
tsconfig.json |
Tech Tracker
Find Here
- Application used by COG employees to update their status & location throughout the day.
How to run:
I'd recommend installing pnpm. Clone the repo, then rename env.example to .env & fill it out.
mv ./env.example ./.env
Run
pnpm install
to install all dependencies.
Feel free to use whichever providers you would like with Auth.js. Outside of changing the logo on the sign in button, you should be able to swap easily. Just ensure you read over the documentation.
Once you have all your environment variables, you can run
pnpm db:push
to automatically push the database schema to your database. You can then run
pnpm db:studio
to get a nice web ui where you can manipulate data in your database. Once your database is set up & you have added your users, you can run
pnpm dev
to start your development environment on port 3000.
For prod, look in the .prod folder. You will find a Dockerfile which when started will always pull any updates before starting with a custom command pnpm go
which is aliased to git pull && next build && next start