From 37c0cd98b7dc6840b73d4d33f538501b1d6aefc0 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Sat, 18 May 2024 18:04:24 -0300 Subject: [PATCH] Astroad -> Paystro Closes autonomic-cooperative/astro-payload-template#8 --- README.md | 12 ++++++------ astro/package.json | 4 ++-- astro/src/pages/index.astro | 8 ++++---- astro/src/pages/posts/[id].astro | 2 +- payload/package.json | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3c14cf5..b1f59b7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Astroad +# Paystro -Astroad is a pre-configured setup for Astro and Payloadcms, designed to make it easy for you to start building your website. With Astroad, you'll have a complete development environment that you can run locally using Docker. This setup simplifies the testing and development of your website before deploying it to a production environment. +Paystro is a pre-configured setup for Astro and Payloadcms, designed to make it easy for you to start building your website. With Paystro, you'll have a complete development environment that you can run locally using Docker. This setup simplifies the testing and development of your website before deploying it to a production environment. ## Prerequisites -Before getting started with Astroad, make sure you have the necessary software installed: +Before getting started with Paystro, make sure you have the necessary software installed: - Docker - Node.js @@ -39,12 +39,12 @@ Once the secrets and variables are set on GitHub, they will replace the existing ## Getting started -To get started with Astroad, you'll need to have Docker and NPM || Yarn || PNPM installed on your machine. +To get started with Paystro, you'll need to have Docker and NPM || Yarn || PNPM installed on your machine. You have two options for getting the repository: -1. Use the 'Use this template' button on the Github repository. This will create a new repository in your Github account with the same directory structure and files as Astroad. After the new repository is created, you can clone it to your local machine. -1. Alternatively, you can directly clone the Astroad repository: git clone https://github.com/mooxl/astroad.git. If you choose this option, remember to change the origin of your remote repository to a new one to avoid pushing changes directly to the Astroad repository. This can be done with the command: git remote set-url origin https://github.com/USERNAME/REPOSITORY.git where USERNAME is your username and REPOSITORY is the name of your new repository. +1. Use the 'Use this template' button on the Github repository. This will create a new repository in your Github account with the same directory structure and files as Paystro. After the new repository is created, you can clone it to your local machine. +1. Alternatively, you can directly clone the Paystro repository: git clone https://github.com/mooxl/paystro.git. If you choose this option, remember to change the origin of your remote repository to a new one to avoid pushing changes directly to the Paystro repository. This can be done with the command: git remote set-url origin https://github.com/USERNAME/REPOSITORY.git where USERNAME is your username and REPOSITORY is the name of your new repository. Once you've cloned the repository or created your own from the template, follow these steps: diff --git a/astro/package.json b/astro/package.json index cfcaf37..3910e93 100644 --- a/astro/package.json +++ b/astro/package.json @@ -1,6 +1,6 @@ { - "name": "astroad", - "description": "Astroad - Astro", + "name": "paystro", + "description": "Paystro - Astro", "type": "module", "version": "1.1", "license": "MIT", diff --git a/astro/src/pages/index.astro b/astro/src/pages/index.astro index b7b2d6e..83424fe 100644 --- a/astro/src/pages/index.astro +++ b/astro/src/pages/index.astro @@ -5,12 +5,12 @@ import { getPosts } from "@/utils/payload"; const posts = await getPosts(); --- - +
-

Astroad

+

Paystro

- Astroad is a pre-configured setup for Astro and Payloadcms that makes it - easy to get started with building your website. With Astroad, you'll have + Paystro is a pre-configured setup for Astro and Payloadcms that makes it + easy to get started with building your website. With Paystro, you'll have a complete development environment that you can run locally using Docker. This makes it easy to test and develop your website before deploying it to a production environment. diff --git a/astro/src/pages/posts/[id].astro b/astro/src/pages/posts/[id].astro index dd169c4..2f76a01 100644 --- a/astro/src/pages/posts/[id].astro +++ b/astro/src/pages/posts/[id].astro @@ -18,7 +18,7 @@ const post = id && (await getPost(id)); { post ? ( - +

BACK

{post.title}

diff --git a/payload/package.json b/payload/package.json index 36df24d..dd2d3c3 100644 --- a/payload/package.json +++ b/payload/package.json @@ -1,6 +1,6 @@ { - "name": "astroad", - "description": "Astroad - Payload", + "name": "paystro", + "description": "Paystro - Payload", "version": "1.1", "main": "dist/server.js", "license": "MIT",