https://naver-ai.github.io/chacha/
- Node.js (tested on 18.17.0) - Recommend to use nvm.
- Install dependencies
> npm install
- Run development server
> npm run dev
- If a web browser does not open automatically, visit
http://localhost:3000
.
- Start editing
./app/App.tsx
. This React component defines the basic content structure of the main page. ./app/sections/
directory contains individual subsections of the main page.- For any PDF files for your preprint, put them in
./public/
. The name can be artibrary. The build processor will automatically grab all PDF fils in that directory. On webpage, link them with a relative URL like./public/[FILE_NAME]
. Refer to./app/sections/Abstract.tsx
for example.
- Change public url in
package.json
:Replace the public-url argument value 'https://naver-ai.github.io/chacha' with the domain you are using."build": "rm -rf dist && rm -rf .parcel-cache && rm -rf .cache && parcel build index.html ./public/*.pdf --public-url https://naver-ai.github.io/chacha",
- Run deployment script:
> npm run deploy
Young-Ho Kim (NAVER AI Lab) yghokim@younghokim.net, http://younghokim.net