Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Bouhet committed Jun 13, 2024
1 parent 47b192b commit 0fe8978
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 12 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@

With those script and conventions, you will be able to :
- Host and run [Docker Applications](https://zouloux.github.io/pasta/#/./00.server/02.applications/0.index)
- Host your Projects Git repositories ( with [Gitea](https://zouloux.github.io/pasta/#/./00.server/02.applications/00.gitea) or Gitlab )
- Host your projects Git repositories ( with [Gitea](https://zouloux.github.io/pasta/#/./00.server/02.applications/00.gitea) or Gitlab )
- Host and run projects in **staging phase**
- Deploy with **CI** to a **production server**
- Or deploy directly from your computer

**But also :**
- Create **secured workspaces** for any project to **work with other developers**
Expand All @@ -27,7 +28,7 @@ With those script and conventions, you will be able to :

**Pasta Server** comes with :
- a set of [scripts](https://zouloux.github.io/pasta/#/./00.server/01.after-installation/02.available-scripts)
- a nice [.bashrc](./server/.bashrc) which shows the current user and server to avoid critical mistakes when connected through SSH.
- a nice preconfigured [.bashrc](./server/.bashrc) file
- `lazydocker` / `htop` / `l` / `ll`

**Pasta-CLI** node package :
Expand Down
5 changes: 5 additions & 0 deletions docs/01.client/00.install-pasta-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Install Pasta CLI

```bash
npm i -g pasta-cli
```
15 changes: 15 additions & 0 deletions docs/01.client/01.create-new-project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Create a new project locally with Pasta-CLI

## Git and CI based deployment

First, create your Git repository and clone it locally. Then :
```bash
pasta init
```

## Deploy from your computer - AKA Pasta Yolo

If you do not need Git based deployment and **Continuous Integration**. Then :
```bash
pasta init
```
Empty file.
Empty file.
Empty file.
Empty file added docs/01.client/13.pasta.yaml.md
Empty file.
Empty file added docs/01.client/14.dot-env.md
Empty file.
28 changes: 18 additions & 10 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,24 @@
* [Update Pasta Server](00.server/04.more/00.update.md)
* [Uninstall Pasta Server](00.server/04.more/01.uninstall.md)
* Client
* Install Pasta-CLI
* Create a new Pasta project
* Docker Compose
* pasta.yaml
* .env
* [Install Pasta-CLI](01.client/00.install-pasta-cli.md)
* [Create a new Pasta project](01.client/01.create-new-project.md)
* _Generated Files_
* [docker-compose.common.yaml](01.client/10.docker-compose.common.yaml.md)
* [docker-compose.pasta.yaml](01.client/11.docker-compose.pasta.yaml.md)
* [docker-compose.yaml](01.client/12.docker-compose.yaml.md)
* [pasta.yaml](01.client/13.pasta.yaml.md)
* [.env](01.client/14.dot-env.md)
* Deploy from local
* Deploy using CI
* Data synchronisation
* Types of Pasta Structures
* Pasta Yolo
* Pasta Gitea
* Pasta Gitea
* Pasta Github

[//]: # (* Types of Pasta Structures)

[//]: # ( * Pasta Yolo)

[//]: # ( * Pasta Gitea)

[//]: # ( * Pasta Gitea)

[//]: # ( * Pasta Github)

0 comments on commit 0fe8978

Please sign in to comment.