greenpress / greenpress

Start here: npm install & npm start
90 stars 29 forks source link

[docs] remove current docs folder and create a new vitepress project #171

Closed davidmeirlevy closed 1 year ago

davidmeirlevy commented 1 year ago

The current docs folder contains documentation for the old version of greenpress. the platform was changed a lot since then, and also it's now better to create documentation websites using vitepress instead of vuepress.

so this issue is about making a fresh start!

  1. remove the current docs folder.
  2. create the new vitepress project following those commands:

run:

mkdir docs && cd docs
npm init -y
npm i -D vitepress vue
mkdir echo '# Hello GreenPress' > docs/index.md

add those lines to docs/package.json:

  "scripts": {
    "dev": "vitepress dev docs",
    "build": "vitepress build docs",
    "serve": "vitepress serve docs"
  },

now run the docs in order to test it:

npm run dev

if both dev and build scripts work - this issue will be good to go!

Niravprajapati1 commented 1 year ago

i am getting this error "lerna ERR! EFILTER No packages remain after filtering [ ' greenpress/greenpress'] how can i solve this isuue?
Screenshot_2022-09-25-11-50-57-41

davidmeirlevy commented 1 year ago

Yep. This folder was deleted recently. If there are still references to it, they should be removed.

davidmeirlevy commented 1 year ago

@Niravprajapati1 what is the command you're running?

Niravprajapati1 commented 1 year ago

@Niravprajapati1 what is the command you're running?

npm start