What is Nostr?
Cypher
npub1nkm…49fn
2024-07-01 20:52:42

How to setup your own Cypher Space

Introduction

This tutorial focuses on helping you clone the repository and customise the settings to your brand / style. We’ll show multiple ways to help you achieve the same goal depending on your comfort level around code. At the end you should have your own blog/shop/page running for free.

Prerequisites

Dev & Build Setup

Step1: Cloning / Installation

Option1: Use this repository as a template by clicking the green button at the top to create it in a new repository. Use the github destop app or CLI to bring the repository to your local machine, it is also possible to make small edits trough github.

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

Option2: Through the commandline

Make sure to have NodeJs v18 or higher then type the following command into your terminal:

npx create-cypher

Step2: Customizing the template

All configuration options are stored in the config folder of the application. You can edit these parameters using VS code or use the github website to make minor edits.

Step3: Deploy your website

# generate build to the /dist folder
$ npm run build
Author Public Key
npub1nkmta4dmsa7pj25762qxa6yqxvrhzn7ug0gz5frp9g7p3jdscnhsu049fn