Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moliva/eversafe.ts

Personal notes app
https://github.com/moliva/eversafe.ts

app notes postit

Last synced: about 9 hours ago
JSON representation

Personal notes app

Awesome Lists containing this project

README

        

## Usage

Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.

This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.

```bash
$ npm install # or pnpm install or yarn install
```

### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)

## Available Scripts

In the project directory, you can run:

### .env files

For running in development env create a `.env` based on the `.env-example` file and for building the production image, make sure to have a `.env.production` one.

### `npm run dev` or `npm start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

### `npm run build`

Builds the app for production to the `dist` folder.

It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

## Deployment

You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)

### Create a new Docker image

Run:

```bash
./build-docker.sh
```

Make sure the image works as expected and publish it by using, just make sure to edit the current file to upgrade the image version:

```bash
./build-docker.sh -p
```