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 We run own private server without docker? #86

Closed
musamasays opened this issue Jun 28, 2024 · 2 comments
Closed

Can We run own private server without docker? #86

musamasays opened this issue Jun 28, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@musamasays
Copy link

I am not able to run docker on my vps due to processor architecture. Is there any way to run without docker.

Any guidance will be appreciated

@capcom6 capcom6 added documentation Improvements or additions to documentation question Further information is requested labels Jun 28, 2024
@capcom6
Copy link
Owner

capcom6 commented Jun 28, 2024

Hello!

Yes, you can run your own private server without Docker, but you'll need to manually compile the backend directly on your VPS or use cross-compilation.

Prerequisites:

  1. Go 1.22 or higher.
  2. Internet access to download dependencies.

Steps:

  1. Clone the repository.
  2. Build the project using go build -o path/to/output/binary ./cmd/sms-gateway. For cross-compilation, set the GOOS and GOARCH environment variables accordingly. For example: GOOS=linux GOARCH=arm64 go build -o path/to/output/binary ./cmd/sms-gateway. You can find available combinations here.
  3. You're all set. Follow the instructions for setting up a Private server, but instead of using Docker, utilize the built binary directly. You might also need to create a systemd unit file to run the backend as a service.

@capcom6
Copy link
Owner

capcom6 commented Jul 3, 2024

Hello, @musamasays

Do you have any more questions or need further assistance? If not, may I proceed to close this issue?

@capcom6 capcom6 closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants