-
Make project container folder, use this command:
mkdir <containerFolderName>
-
Move to project container folder, use this command:
cd <containerFolderName>
-
Install repo, use this command:
git clone https://github.com/woodkill00/sass_test.git .
-
Make Virtual Environment, use this command:
python3 -m venv venv
-
Activate Virtual Environment, use this command:
source venv/bin/activate
-
Upgrade pip, use this command:
python3 -m pip install --upgrade pip
-
Install local requirements, use this command:
pip install -r requirements.txt
-
Will add here
text here
-
NVM Install nvm: node version manager
https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
-
nodeVersion=16.15.1 nvm install $version nvm use version-number nvm ls
-
nvm install-latest-npm
-
Logging
https://docs.npmjs.com/cli/v8/using-npm/logging
-
Error logging
https://www.npmjs.com/package/errorlog
https://www.npmjs.com/package/log-process-errors npm install -D log-process-errors
-
packageName=postcss npm install $packageName --save-dev npm audit fix
Must uncomment the correct style.css sheets
-
Run development sass with watch & changes:
npm run watch:dev:sass
-
Run development sass watch & changes without it being compiled so you can see the css code better:
npm run watch:sass
-
Run to compile all the sass and have it output for final version:
npm run build:css
-
lint-staged.config.js https://github.com/okonet/lint-staged#configuration
-
"precommit:staged": "lint-staged"
https://medium.com/millennial-falcon-technology/reformatting-your-code-base-using-prettier-or-eslint-without-destroying-git-history-35052f3d853e
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Configuring_server_MIME_types