Reading List
Libraries
Developer Resources
Reading List
Make Your Web App Installable
February 16, 2025How to make your web app installable.
trueFeatured Post
Tips on creating custom command in ChromeOS to execute node
command on a certain folder.
To quick start a javascript project, I usually add a shortcut for the terminal, for example, I could run a custom xml
command to start a development server for one of my project from the penguin terminal:
tmp7@penguin:~$ xml
Servers running at:
src/: http://localhost:4200/pages/
How To Add
Use vscode.dev to edit the .bashrc
file in the root of Linux files folder.
Next, to create a custom command, write it like a function, like so:
xml() {
cd ~/blogger-templates/xmlexpr
node server
}
The above example will execute a node
command inside a certain folder when I enter the xml
command in the penguin terminal.
After the file is saved, you will have to apply the update by running the following command in the terminal (or restart your PC):
source ~/.bashrc
If you want to make a shortcut out of that, insert the following line to the .bashrc
file:
alias update='source ~/.bashrc'
Then, after applying the update, you can run update
command in the terminal.