A crowdsourcing platform for children education.
After having run the create-remix
command and selected "Vercel" as a
deployment target, you only need to
import your Git repository into Vercel, and it will be
deployed.
If you'd like to avoid using a Git repository, you can also deploy the directory by running Vercel CLI:
npm i -g vercel
vercel
It is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its Git Integration.
To run the app locally, make sure your project's already run the setup scripts (this will install dependencies and setup the database):
npm run setup
Afterwards, start the Remix development server like so:
npm run dev
Open up http://localhost:3000 and you should be ready to go!
If you're used to using the vercel dev
command provided by
Vercel CLI instead, you can also use that, but it's
not needed.
- Search FontAwesome Icons
- Download the SVG code (if it's a Pro icon, please ask @zainfathoni to download it for you)
- Paste the SVG code into the
SVG INPUT
panel of SVGR with these params - Copy the resulting
<svg>
tag in theJSX OUTPUT
panel - Paste the
<svg>
tag into the corresponding file under the icons directory
Learn more about this Prisma schema file in the docs: https://pris.ly/d/prisma-schema
Commands to know:
npx prisma generate
- update TypeScript definitions based on this schemanpx prisma db push
- push the schema changes to the databasenpx prisma studio
- open the Studio, which allows you to edit the schema.npx prisma migrate reset
- reset the migrations to the last version. This will reset the DB and run the seed scriptnpx prisma migrate dev --name <descriptive-name>
- generate a migration file for any changes you make to the schema (this will be committed).
Learn more about Planetscale CLI in the docs: https://docs.planetscale.com/reference/planetscale-cli
Commands to know:
pscale connect <DATABASE_NAME> <BRANCH_NAME> --port 3309
- create a secure connection to a database branch for a local clientpscale database dump <DATABASE_NAME> <BRANCH_NAME> --output prisma/dumps/xx
- backup and dump the specified database
Thanks goes to these wonderful people (emoji key):
Yusuf 📖 🐛 💻 |
depa panjie purnama |
This project follows the all-contributors specification. Contributions of any kind welcome!