🚧 WIP
Steps to know, check, or redo.
Choose one for each category.
- Code editor: Vim, VS Code
- Terminal app: Warp, iTerm
- Version control: Git
- JavaScript runtime: Node.js
Choose one for each category.
- Email: Gmail, Skiff Mail
- Credential manager: Bitwarden, 1Password
- Repository: GitHub, GitLab, Bitbucket
- Deployment: Vercel, Netlify, Render.com, Railway.app, Fly.io
- Secrets: Doppler, etc
Initialize or clone the repo. Preferably with SSH URL.
git clone git@github.com:dogokit/dogokit-beagle.git
Ignore some files.
.gitignore
README.md
LICENSE
CODE_OF_CONDUCT.md
Check for the dependencies.
Check the scripts for:
- App-related tasks
check:*
: Code check commandsfix:*
: Code fix commandsdb:*
: Database-related commands
npm install -g pnpm
pnpm install
Can also check the version updates with taze
:
pnpm taze
Config to enable some features for pnpm:
.npmrc
Formatter with various plugins.
.prettierrc.js
Linter with various plugins.
.eslintrc.cjs
Note that ESLint does not support ESM configuration at this time.
.stylelintrc
.commitlintrc
tsconfig.json
remix.config.js
Also to enable tailwind
and postcss
.
Remove the site.webmanifest
file as in Remix it will be handled dynamically.
Use TinyPNG to compress the images.
Configure in Remix root.tsx
pnpm install -D tailwindcss postcss autoprefixer
pnpm install -D @tailwindcss/typography @tailwindcss/forms tailwindcss-animate
tailwind.config.ts
postcss.config.js
No config necessary.
But if install the packages manually:
pnpm install @radix-ui/react-slot
Skip this if not prefer to use it.
Automatically setup Tailwind CSS, PostCSS, Radix UI, Class Variance Authority, clsx, Tailwind Merge, and more.
pnpx shadcn-ui@latest init
But if install the packages manually:
pnpm install class-variance-authority clsx tw-merge
Then follow the next installation steps. The components are configured in:
components.json
Then can install the UI component as needed:
pnpx shadcn-ui@latest add component-name
...
shadcn UI install Lucide React icons by default, which can be removed and replaced.
Use Iconify (@iconify/react
) to get any popular icons via Icônes.
Use Fontsource to install the font locally without using online-required Google Fonts.
pnpm install @fontsource-variable/font-name
# or
pnpm install @fontsource/font-name
TBA
TBA
docker-compose.yml
docker compose up -d
TBA
TBA
.env.example
For local development:
.env
For production copy if needed:
.env.production
pnpm db:push
pnpm db:reset
pnpm db:generate
pnpm db:seed
pnpm db:studio
pnpm db:docs
References:
Some extra stuffs are below.
- Change workspace color
- Install recommended extensions
VS Code extension to generate configurable Remix code.