Lien |
---|
Console |
Material UI |
Material Pickers |
Icons |
I18n |
Social colors |
Flags |
Large images |
Vision Console |
Charts - Components |
Open usefull links for development:
google-chrome \
https://console.firebase.google.com \
https://material-ui.com/demos/app-bar/ \
https://www.google.com/design/icons/ \
http://localhost:3000/
sudo npm i -g nvm \
&& nvm install v8.11.1
git clone https://github.com/bcolucci/choosabl.git
cd choosabl \
&& npm install \
&& cd functions && npm install \
&& cd ../client && npm install
curl https://sdk.cloud.google.com | bash
[...]
cd [choosabl-path]
gcloud init
sudo npm i -g firebase firebase-tools @google-cloud/functions-emulator
# and login
firebase login
npm run switch:test
Add this to your profile file (e.g. bashrc, bash_profile):
#
# Run 'nvm use' automatically every time there's
# a .nvmrc file in the directory. Also, revert to default
# version when entering a directory without .nvmrc
#
enter_directory() {
if [[ $PWD == $PREV_PWD ]]; then
return
fi
PREV_PWD=$PWD
if [[ -f ".nvmrc" ]]; then
nvm use
NVM_DIRTY=true
elif [[ $NVM_DIRTY = true ]]; then
nvm use default
NVM_DIRTY=false
fi
}
Add this to your Visual Code User Settings, in file.exclude.
For example:
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/bower_components": true,
"**/node_modules": true,
"**/package-lock.json": true,
"**/.firebase": true
}
}
# local/test
npm run setcors:test
# prod
npm run setcors:prod
CTRL + P + "ext install aeschli.vscode-css-formatter"
CTRL + P + "ext install numso.prettier-standard-vscode"
npm start
cd client && npm run build
npm run format
npm run deploy
# prod (default)
npm run switch:prod
# test
npm run switch:test