feat: added README.md

This commit is contained in:
minhtrannhat 2025-02-19 00:41:31 -05:00
parent 482f5f90c0
commit bb4891d593
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062

View File

@ -1,32 +1,16 @@
# SolidStart # minhtran_dev website code
Everything you need to build a Solid project, powered by [`solid-start`](https://start.solidjs.com); ## Set up dev server
## Creating a project - `bun run dev`
```bash ## Build binary
# create a new project in the current directory
npm init solid@latest
# create a new project in my-app - `bun run build`
npm init solid@latest my-app
```
## Developing ## Deploy
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - Make sure you built this first
- `rsync` to my VPS
```bash - Run `pm2 restart 0` as `0` is the current task_id for my portfolio web app
npm run dev - [ ] Setup CI/CD for this project
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
Solid apps are built with _presets_, which optimise your project for deployment to different environments.
By default, `npm run build` will generate a Node app that you can run with `npm start`. To use a different preset, add it to the `devDependencies` in `package.json` and specify in your `app.config.js`.
## This project was created with the [Solid CLI](https://solid-cli.netlify.app)