fuware-be/README.md
2024-05-13 03:16:06 +00:00

71 lines
1.2 KiB
Markdown

# fuware
the warehouse use to tracking item in house
# Common CLI
### alembic
generate migration
```bash
alembic revision -m "version message"
```
```bash
alembic upgrade head
```
```bash
alembic history
```
```bash
alembic current
```
```bash
alembic downgrade -1
```
```bash
alembic upgrade +1
```
generate migration auto code
```bash
alembic revision --autogenerate -m "version message"
```
# Front-end
## Usage
```bash
$ npm install # or pnpm install or yarn install
```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
## Available Scripts
In the project directory, you can run:
### `npm run dev`
Runs the app in the development mode.<br>
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
### `npm run build`
Builds the app for production to the `dist` folder.<br>
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
## Deployment
Learn more about deploying your application with the [documentations](https://vitejs.dev/guide/static-deploy.html)