You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
이렇게 된다면 git clone을 통한 설치와 npm install -g를 통한 설치의 config 방법이 달라질수 있을듯.
특히 npm install -g 를 통한 설치는 보통 시스템 디렉토리에 깔리기 때문에 user.db 의 위치도 문제가 될수 있다.
보통 명령어를 통한 실행은 홈폴더의 dot file을 이용하지만 git clone 후 실행하는 서버와 같은 방식은 그 폴더에 config 파일을 두기 때문에 발생하는 문제이다. 이를 해결하려면 config 파일의 위치와 user.db같은 db의 위치를 지정하는 메타 config 가 있어야 할것 같다. 그래서 npm install -g 를 통해 설치한후 실행할때는 홈폴더에 .wikinote를 사용하고 git clone을 통해 설치 했을때는 그폴더를 그대로 이용하는 방법으로 해야할것 같다.
npm 명령 만으로 동작할수 있게끔 만들어 두는 것이 좋겠다고 판단.
궁극적으로는 어떤 환경 설정 없이 실행시의 option 만으로도 완벽한 configure하여 웹브라우져 동작 까지 하도록 설정
사용 예제
The text was updated successfully, but these errors were encountered: