Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 899 Bytes

installation.md

File metadata and controls

30 lines (18 loc) · 899 Bytes

Installation

There are a couple of ways you can setup Strawberry

Index

  1. Strawberry Starter
  2. Self Setup

Strawberry Starter

The quickest way to get started is to run this command:

curl -so- https://raw.githubusercontent.com/18alantom/strawberry/main/setup.sh | bash

This will run a tiny bash script that sets up a simple starter page using Strawberry.

Self Setup

If you want to add the functionality of Strawberry to an existing html document. You do two things:

Add a link to Strawberry to you html's head tag:

<script src="https://unpkg.com/sberry@0.0.3-alpha.0/dist/sb.min.js"></script>

Or you can download this file and add a script:src that links to the copy.