Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not run release version by just read this README.md #7

Open
dlintw opened this issue Dec 7, 2024 · 0 comments
Open

can not run release version by just read this README.md #7

dlintw opened this issue Dec 7, 2024 · 0 comments

Comments

@dlintw
Copy link
Contributor

dlintw commented Dec 7, 2024

I've done ## Compiling for Release.

Will generate your server binary in target/server/release and your site package in target/site .

I don't understand this. I found the release file is on target/release/hello-ssr (my project name).
or maybe the hello-ssr can combined all resourced into one binary for easier install?

My memo about this. (only for linux/mac user)

## Run Release without source code
pack in a tgz file.
tar czf {{project-name}}.tgz target/release/{{project-name}} target/site

mkdir /tmp/your_site
tar -C /tmp/your_site -xf {{project-name}}.tgz
cd /tmp/your_site
target/release/{{project-name}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant