Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/terwer/jvue-front

以 Metaweblog API 为标准的博客轻量级平台。默认适配并支持支持思源笔记、博客园、WordPress以及支持 Metaweblog API 的平台
https://github.com/terwer/jvue-front

jvue metaweblog nuxt3 vue3

Last synced: 11 days ago
JSON representation

以 Metaweblog API 为标准的博客轻量级平台。默认适配并支持支持思源笔记、博客园、WordPress以及支持 Metaweblog API 的平台

Awesome Lists containing this project

README

        

# jvue-front
Next version for jvue-front using [nuxt3](https://github.com/nuxt/framework) which supports Metaweblog API.

We will start develop after Nuxt3 **stabe** release,please wait...

See also:[https://github.com/element-plus/element-plus-nuxt-starter/issues/46](https://github.com/element-plus/element-plus-nuxt-starter/issues/46)

## Install
```bash
dnf install npm
# apt install nom
npm i -g n
sudo n stable

npm i -g yarn
npm i -g vercel
npm i -g pm2
```
## Init
```bash
yarn
```

## Set up environment variables

Copy the .env.example file in this directory to .env (which will be ignored by Git):

```bash
cp .env.example .env
```

and change the config, the file maybe like this:

```properties
# setting for Siyuan-Note
SIYUAN_API_URL=
SIYUAN_AUTH_TOKEN=

# setting for WordPress
WORDPRESS_API_URL=https://wordpress-host/xmlrpc.php
WORDPRESS_USERNAME=
WORDPRESS_PASSWORD=

# set wordpress as default
DEFAULT_TYPE=wordpress
```

## Dev

```bash
yarn dev
```

or

```bash
yarn vdev
```

## Deploy

```bash
pm2 start pm2.json
```

```bash
pm2 stop pm2.json
```