-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Pake packaging static file example
-
Find a static directory, such as AriaNG, and unzip it.
-
Make sure that
pake-cli >= 2.3.3
is installed. If you are not sure what version you have, you can usepake --version
to determine it. -
Execute the following command to package the static files. The startup file is usually index.html. Of course, it may be other files. It depends on the front end.
pake ./AriaNg-1.3.6/index.html --name html-test --use-local-file
-
--name
is to set the package name. Generally speaking, there are certain standards. To put it simply, try to use English, or-
, without spaces, and do not use capital letters in Linux. -
--use-local-file
is a recursive copy, which will copy files at the same level and subdirectories of index.html
-
-
Then it will be packaged. After successful packaging, the final file will be generated in the current directory.
-
If you need other settings, such as icons, etc., you can refer to bin/README.md.