upda readme
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,19 +1,19 @@
|
|||||||
|
node_modules/
|
||||||
|
requirements.txt
|
||||||
|
build/
|
||||||
|
__pycache__
|
||||||
.aws-sam
|
.aws-sam
|
||||||
.pytest_cache
|
.pytest_cache
|
||||||
.venv
|
.venv
|
||||||
.ruff_cache
|
.ruff_cache
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.coverage
|
.coverage
|
||||||
__pycache__
|
|
||||||
.python-version
|
.python-version
|
||||||
requirements.txt
|
|
||||||
.meili_data/
|
.meili_data/
|
||||||
.dynamodb_volume/
|
.dynamodb_volume/
|
||||||
.elastic_volume/
|
.elastic_volume/
|
||||||
.env
|
.env
|
||||||
node_modules/
|
|
||||||
.turbo
|
.turbo
|
||||||
.postgres_data
|
.postgres_data
|
||||||
.react-router
|
.react-router
|
||||||
.wrangler
|
.wrangler
|
||||||
build/
|
|
||||||
@@ -1,79 +1,3 @@
|
|||||||
# Welcome to React Router!
|
# [id.saladeaula.digital](https://insights.saladeaula.digital)
|
||||||
|
|
||||||
A modern, production-ready template for building full-stack React applications using React Router.
|
O código-fonte para [id.saladeaula.digital](https://insights.saladeaula.digital), construído com [React Router](https://github.com/remix-run/react-router).
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- 🚀 Server-side rendering
|
|
||||||
- ⚡️ Hot Module Replacement (HMR)
|
|
||||||
- 📦 Asset bundling and optimization
|
|
||||||
- 🔄 Data loading and mutations
|
|
||||||
- 🔒 TypeScript by default
|
|
||||||
- 🎉 TailwindCSS for styling
|
|
||||||
- 📖 [React Router docs](https://reactrouter.com/)
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
### Installation
|
|
||||||
|
|
||||||
Install the dependencies:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
### Development
|
|
||||||
|
|
||||||
Start the development server with HMR:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run dev
|
|
||||||
```
|
|
||||||
|
|
||||||
Your application will be available at `http://localhost:5173`.
|
|
||||||
|
|
||||||
## Previewing the Production Build
|
|
||||||
|
|
||||||
Preview the production build locally:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run preview
|
|
||||||
```
|
|
||||||
|
|
||||||
## Building for Production
|
|
||||||
|
|
||||||
Create a production build:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
## Deployment
|
|
||||||
|
|
||||||
Deployment is done using the Wrangler CLI.
|
|
||||||
|
|
||||||
To build and deploy directly to production:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm run deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
To deploy a preview URL:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npx wrangler versions upload
|
|
||||||
```
|
|
||||||
|
|
||||||
You can then promote a version to production after verification or roll it out progressively.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npx wrangler versions deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
## Styling
|
|
||||||
|
|
||||||
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Built with ❤️ using React Router.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user