20220420_mitosearch_local_environment_setting

Mitosearch Local Environment Configuration

For the first time setting
1.Install visual studio 2022

2.Clone repository
 Repository location: https://github.com/suikoucalender/mitosearch.git yoshitake@m50v251n3.s:/home/yoshitake/mitosearch_repo
 Path: C:\Users\xxxx\Source\Repos\mitosearch
 error: Mojibake reason: Character set is UTF-8
 solution: Control Panel → Region → Manage → Language for non-Unicode programs → Change to Japanese 

3.Authentication-related

login your Microsoft account(on the top-right side)\\

 add GitHub account, then login the suikoucalender github account in browser
 Git → Setting → Source code management→[set your username and email address]

Development and maintenance
1.Staged Changes section
2.Commit and update commits
3.push

Download config.json C:\Users\xxxx\source\repos\mitosearch\Mitosearch\config> scp yoshitake@m50v251n3.s:/home/yoshitake/mitosearch/Mitosearch/config/config.json ./ Move to cd C:\Users\xxxx\source\repos\mitosearch\Mitosearch\

npm install
npm install ejs
npm install i18n
npm install –save express-session


Launch

npm start
localhost:3004

For the first time upload onto github

make a new repository named mitosearch with suikoucalender account on github

git clone git@github.com:suikoucalender/mitosearch.git

copy the files in to the directory

git add .
git commit -m “ ”
git remote add origin http://github.com/suikoucalender/mitosearch.git
git push -u origin main
  • 20220420_mitosearch_local_environment_setting.1652264801.txt.gz
  • 最終更新: 2022/05/11 10:26
  • by 133.11.144.12