Convention for Projects: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==Chorke== ===Academia=== {| | valign="top" | <source lang="bat"> @rem windows os user's set the environment variable ───────────────────...")
 
m (Protected "Convention for Projects" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(No difference)

Latest revision as of 16:17, 23 October 2020

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