mirror of
https://github.com/vacp2p/rfc.vac.dev.git
synced 2026-01-07 21:33:54 -05:00
chore: Markdown fetching script refactor (#1)
* Added .env.example * env config loading refactored * utility file system functions for reading and writing * vac to docusaurus converter functions extracted * github api service extracted * refactor the scrapping script * removed unused imports * updated directories to sync
This commit is contained in:
@@ -19,13 +19,12 @@ $ git clone https://github.com/acid-info/logos-docs-template.git
|
||||
$ yarn install
|
||||
```
|
||||
|
||||
3. Create .env and run fetch-content.js
|
||||
3. Create .env and run the scraping script
|
||||
and
|
||||
```bash
|
||||
GITHUB_TOKEN=
|
||||
$ yarn scrape
|
||||
```
|
||||
|
||||
and `node fetch-content.js`
|
||||
|
||||
4. Start the website:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user