Why Nostr? What is Njump?
2024-07-01 22:52:42

How to setup your own Cypher Space

This is a long form article, you can read it in https://habla.news/a/naddr1qvzqqqr4gupzp8dkhm2mhpmury4fa55qdm5gqvc8w98acs7s9gjxz23urrymp380qqxnzde38yurvdesxgerswpjj7729w

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