Compare commits

..

No commits in common. "47909e0f87070041092e30a1ba9de5d493c9f73b" and "300453edb5ceba85e88d3d476c64853a2147f248" have entirely different histories.

2 changed files with 44 additions and 4 deletions

View File

@ -1,3 +1,42 @@
# sv
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```bash
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
# Create Journal Posts
To create a new post, all you must do is create a new markdown file in the `./src/journal/` directory.

View File

@ -12,13 +12,14 @@ Desc: Rolling your own version control is not as hard as it sounds. This step by
## Background
Version control is one of the most powerful tools used by developers, and Git is the most widely adopted **version control system** (vcs). However, when it comes to hosting Git, everyone does it a
Version control is one the most powerful tools used by develops, and Git is the most widely adopted
"flavor" **version control system** (vsc). However, when it comes to hosting Git, everyone does it a
little differently. Most people use **[GitHub](https://github.com)** or even [GitLab](https://about.gitlab.com). Large companies typically host their
own for an added layer of safety and security. That is exactly what this guide will cover, but on a smaller
own for an added layer of safety and security. That is exactly what this guide will cover, on a smaller
scale of course!
Before we dig into the details, what exactly does it mean to *"roll your own version control"* or *"host
your own git server"*? Well, it's simple, we are going to use a server of our own to deploy an application
But before we dig into the details, what exactly does it mean to *roll your own version control* or *host
your own git server*? Well its simple, we are going to use a server of our own to deploy an application
that serves as a web-UI and *hub* for our Git repositories. Before you freak out, we are not going to
actually write any code or build the application, there are countless open-source options available for
**free** that "home-labbers" such as myself. In this guide, we will be using [Gitea](https://about.gitea.com) due to its ease of use