App photospace
TODO
node.js
:18.*
yarn
:1.22.*
tmux
:*
(optional, for local launch)
- install
node
,yarn
,tmux
brew install tmux
- run
chmod 0755 ./tmux.sh
- run
yarn install
on repository root - install all packages (see instructions):
- update
tmux
config:cp -R ./.tmux.conf ~/.tmux.conf
- run
./tmux.sh
on repository root
- open powershell by admin role
- enter command
wsl --install
and wait for installation to complete - for start project use
ubuntu-22.*
, command for installwsl --install ubuntu-22.*
- restart powershell make sure that
ubuntu-22.*
use wsl version 2, commandwsl --list --verbose
- Run
ubuntu-22.*
shell, and installnode/npm
,yarn
,mongo
,tmux
, for installmongo
use this instruction (https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/) [tmux]sudo apt install tmux
[node/npm]sudo apt install build-essential checkinstall
sudo apt install libssl-dev
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
nvm ls-remote
nvm install {18.*}
[yarn]npm install --global yarn
- update
tmux
config:cp -R ./.tmux.conf ~/.tmux.conf
- install openssh for connect you wsl from window
sudo apt install openssh-server
- clone your project in the
ubuntu
directory, example path (home/{username}/), this required step, other your project will incorrect running. For running project use shellubuntu-22.*
,and command./tmux.sh
In the repository root, you can run:
Run husky.
See the documentation for the husky
package for details.
Run prettier.
See the documentation for the prettier
package for details.