From 92fccd1e63fa5044c2514209bde0100518c1ce03 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Sat, 29 Jun 2024 12:16:49 +0200 Subject: [PATCH] chore: remove getting started blog guide it's just too outdated --- src/content/docs/blog/getting-started.mdx | 68 ----------------------- 1 file changed, 68 deletions(-) delete mode 100644 src/content/docs/blog/getting-started.mdx diff --git a/src/content/docs/blog/getting-started.mdx b/src/content/docs/blog/getting-started.mdx deleted file mode 100644 index 95337a622..000000000 --- a/src/content/docs/blog/getting-started.mdx +++ /dev/null @@ -1,68 +0,0 @@ ---- -slug: blog/getting-started -title: How to get started with sern! -authors: [ethan] -tags: [guides] -date: 2022-09-30 ---- - -## Hello everyone! - -I'm Sr Izan, your fellow user and contributor. - -Today I'm going to show you how to get started with sern and all its cool features. - -### Step 1: Install the CLI. - -Install the CLI: - -import PackageManagers from '~/components/PackageManagers.astro'; - - - -and then run - -```sh -sern init -``` - -:::tip -You can also run `sern init -y` if you want to use the default options. -::: - -The CLI is written in TypeScript and open-source on [GitHub](https://github.com/sern-handler/cli). (thanks [evo](https://github.com/EvolutionX-10)!) - -### Step 2: Have some way to store secrets. - -Normally you'd need a way to store secrets, and the best way to do that is by installing another package: `dotenv` - -just `npm i dotenv` in the project folder and add `require('dotenv').config()` to your import section. Then, when you login, `process.env.TOKEN` (or however you have it named on your `.env` file) should do the trick. - -:::caution -If you're using ESM, configure dotenv with `import 'dotenv/config'` instead of `require('dotenv').config()`. -::: - -### And... that's it? - -Yes, that's it. Here's a little FAQ to get you started. You can also join the [Discord](https://sern.dev/discord) for any problems. - -### Extra: Video tutorial! - - - -## FAQ - -**Q**: How do I publish a slash command? -**A**: Install the publish extension. Little video: - - - -**Q**: Any snippet VSCode extension? -**A**: Yeah, just search `sern Snippets` made by a verified publisher called Sr Izan (haha yeah me funny!) - -**Q**: HEEEELLLPPPP!!!! -**A**: Hey, don't panic! We're here to help so, join the [Discord](https://sern.dev/discord). We're trying to get to 100 members!