Convention for Projects

From Chorke Wiki
Jump to navigation Jump to search

Chorke

Academia

@rem windows os user's set the environment variable
────────────────────────────────────────────────────────────────
set ACADEMIA_WSS=%USERPROFILE%\chorke\academia
@rem start » command prompt » run as administrator
────────────────────────────────────────────────────────────────
mkdir %USERPROFILE%\chorke
mkdir C:\opt\dev\chorke\academia\%USERNAME%
mklink /D %ACADEMIA_WSS% C:\opt\dev\chorke\academia\%USERNAME%
dir %USERPROFILE%\chorke
# linux|unix os user's update the bash profile
──────────────────────────────────────────────────────
export ACADEMIA_WSS="$HOME/chorke/academia"
# linux|unix » login » dashboard » terminal
──────────────────────────────────────────────────────
mkdir -p $HOME/chorke
mkdir -p /opt/dev/chorke/academia/$USER
ln -s /opt/dev/chorke/academia/$USER $ACADEMIA_WSS
ls -lah $HOME/chorke

Software

@rem windows os user's set the environment variable
────────────────────────────────────────────────────────────────
set SOFTWARE_WSS=%USERPROFILE%\chorke\software
@rem start » command prompt » run as administrator
────────────────────────────────────────────────────────────────
mkdir %USERPROFILE%\chorke
mkdir C:\opt\dev\chorke\software\%USERNAME%
mklink /D %SOFTWARE_WSS% C:\opt\dev\chorke\software\%USERNAME%
dir %USERPROFILE%\chorke
# linux|unix os user's update the bash profile
──────────────────────────────────────────────────────
export SOFTWARE_WSS="$HOME/chorke/software"
# linux|unix » login » dashboard » terminal
──────────────────────────────────────────────────────
mkdir -p $HOME/chorke
mkdir -p /opt/dev/chorke/software/$USER
ln -s /opt/dev/chorke/software/$USER $SOFTWARE_WSS
ls -lah $HOME/chorke

Shahed

Finology

@rem windows os user's set the environment variable
────────────────────────────────────────────────────────────────
set FINOLOGY_WSS=%USERPROFILE%\shahed\finology
@rem start » command prompt » run as administrator
────────────────────────────────────────────────────────────────
mkdir %USERPROFILE%\shahed
mkdir C:\opt\dev\shahed\finology\%USERNAME%
mklink /D %FINOLOGY_WSS% C:\opt\dev\shahed\finology\%USERNAME%
dir %USERPROFILE%\shahed
# linux|unix os user's update the bash profile
──────────────────────────────────────────────────────
export FINOLOGY_WSS="$HOME/shahed/finology"
# linux|unix » login » dashboard » terminal
──────────────────────────────────────────────────────
mkdir -p $HOME/shahed
mkdir -p /opt/dev/shahed/finology/$USER
ln -s /opt/dev/shahed/finology/$USER $FINOLOGY_WSS
ls -lah $HOME/shahed