zainfathoni / kelas.rumahberbagi.com

Kelas Rumah Berbagi
https://kelas.rumahberbagi.com
MIT License
71 stars 20 forks source link
hacktoberfest playwright remix-run tailwindcss typescript

Kelas Rumah Berbagi

All Contributors

Build Status MIT License

Online course platform for Rumah Berbagi.

Documentation

Getting started

System Requirements

Development

To get started running the project locally, please follow the steps below.

First, clone the repository.

git clone https://github.com/zainfathoni/kelas.rumahberbagi.com.git

or if you're cloning using SSH.

git clone git@github.com:zainfathoni/kelas.rumahberbagi.com.git

Then go to the directory and copy the example environment variables into an ignored .env file

cd kelas.rumahberbagi.com
cp .env.example .env

Run this command to perform the initial setup while making sure that the app can run properly in your local.

npm run setup

Finally, run the development server to start developing.

npm run dev

Open http://localhost:3000 with your browser to see the result. This starts your app in development mode, rebuilding assets on file changes.

Testing

Run this command to start the end-to-end testing locally.

npm run test:e2e:run

Here's what that script does (along with the corresponding NPM commands):

  1. It builds the app (npm run build)
  2. It starts the server using the test database (npm run start:e2e)
  3. After http://localhost:3000/ is available, it starts testing (npm t a.k.a. npm test a.k.a. npm run test)

If you want, you can also manually run those commands above.

Tools & References

Tools

Code Editor

If you're using Visual Studio Code, you can install the recommended extensions for this project by using @recommended filter.

Recommended VS Code Extensions

References

Frequently Used Commands

Prisma commands

Learn more about this Prisma schema file in the docs: https://pris.ly/d/prisma-schema

Commands to know:

PlanetScale commands

Learn more about Planetscale CLI in the docs: https://docs.planetscale.com/reference/planetscale-cli

Commands to know:

Fly Setup ⚠️ Warning, the deployment setup is untested yet ⚠️

  1. Install Fly

  2. Sign up and log in to Fly

    flyctl auth signup
  3. Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.

    flyctl launch

Deployment

If you've followed the setup instructions already, all you need to do is run this:

npm run deploy

You can run flyctl info to get the url and ip address of your server.

Check out the fly docs for more information.

Contributing

See our contribution guidelines in these languages:

When contributing to our project, please use English when communicating with other people in issues and/or pull requests. Click here to read why. (Bahasa Indonesia)

Important links

Description Link
Project overview rbagi.id/github-project
Epics list rbagi.id/epic
Issues board rbagi.id/board
Issue shortlink rbagi.id/gh/:issue-id
First-time contributors link rbagi.id/contribute

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Zain Fathoni

💻 📖 🎨 🚧 🔧 ⚠️ 📆 🤔

Reza Rachmanuddin

🐛 💻 ⚠️

febrifahmi

💻

Guntoro Yudhy Kusuma

💻

Nurfitra Pujo Santiko

💻 ⚠️

Achmad Wahyu

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!