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

Create Build #3

Open
Akenjeru opened this issue Jul 5, 2024 · 4 comments
Open

Create Build #3

Akenjeru opened this issue Jul 5, 2024 · 4 comments

Comments

@Akenjeru
Copy link

Akenjeru commented Jul 5, 2024

I apologize for what may be a stupid question, but do I understand correctly that you just need to take the source files and write make build?
I have a test installation of Ubuntu 22.04 lts, ​​all the files are in one folder and after Make build in the last lines it is

image
Yes, this may be stupid, but I will be glad for your help

@anhbh310
Copy link
Owner

anhbh310 commented Jul 6, 2024

Hello @Akenjeru, I've checked the build process and everything still seems alright.

Can I see your go environment by running go env, and your go.mod file?

Perhaps you should try go mod tidy before running make build.

I'm glad to see your question. Please let me know if there is anything new.

@Akenjeru
Copy link
Author

Akenjeru commented Jul 6, 2024

Hello @Akenjeru, I've checked the build process and everything still seems alright.

Can I see your go environment by running go env, and your go.mod file?

Perhaps you should try go mod tidy before running make build.

I'm glad to see your question. Please let me know if there is anything new.

i take git clone from you repo, or i need install gotify build?

@Akenjeru
Copy link
Author

Akenjeru commented Jul 6, 2024

Hello @Akenjeru, I've checked the build process and everything still seems alright.

Can I see your go environment by running go env, and your go.mod file?

Perhaps you should try go mod tidy before running make build.

I'm glad to see your question. Please let me know if there is anything new.

services:
  app:
    image: gotify/server
    container_name: gotify
    restart: unless-stopped
    ports:
      - 127.0.0.1:8000:80
    environment:
      - TZ='Africa/Casablanca'
    volumes:
      - ./data:/app/data

This my docker-compose.yml with gotify server and inside folder i take git clone your repo

image
this go.mod file

@anhbh310
Copy link
Owner

anhbh310 commented Jul 6, 2024

You don't need a Gotify server to build the plugin.

As I wrote in the README, if you prefer making your own shared object, just build it on your host machine. Then, copy the related architecture shared object to your Gotify container.

To build the plugin on your host machine, just follow the steps below:

  1. Clone my repository.
  2. Install Golang and Docker.
  3. Run make build.

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

2 participants