Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add instructions for building and developing locally #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdimado
Copy link

@mdimado mdimado commented Jan 24, 2025

Fixes #81

Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for sern-docs ready!

Name Link
🔨 Latest commit 3cd7c41
🔍 Latest deploy log https://app.netlify.com/sites/sern-docs/deploys/679373a8d226790008816446
😎 Deploy Preview https://deploy-preview-85--sern-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@SrIzan10 SrIzan10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check these out. you could also move this to a CONTRIBUTING.md file.

@@ -1,3 +1,49 @@
# Website (v2)

sern's clean, modern, and user-friendly web interface. (now built with [Starlight](https://starlight.astro.build/))


To build and develop the **sern-handler-website** locally, follow these steps:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"To build and develop the website locally, follow these steps"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright, I'll change


### **Prerequisites**
1. **Install Bun**: Bun is used as the package manager and runtime for this project. Install it from the official website: [https://bun.sh/](https://bun.sh/).
2. **Node Version Manager (Optional)**: The `.nvmrc` file specifies the Node.js version. Use a version manager like `nvm` to ensure compatibility:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're using bun, not node

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was optional, but I'll remove it, mb

To start a local development server:
```bash
bun dev
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything under this is unnecessary

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll remove the building and running locally part

```

2. **Install Dependencies**:
Bun uses the `bun.lockb` file to manage dependencies. Run:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not true

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll simply remove it as well


---

### **Steps to Build and Develop**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is too long i feel like

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should i change it to "steps"

@jacoobes
Copy link
Member

check these out. you could also move this to a CONTRIBUTING.md file.

Let's keep it in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

website: instructions on how to build and develop locally
3 participants