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

Setup instructions not working #13

Closed
planetahuevo opened this issue Aug 14, 2019 · 5 comments
Closed

Setup instructions not working #13

planetahuevo opened this issue Aug 14, 2019 · 5 comments

Comments

@planetahuevo
Copy link

I am trying to follow the instructions and I cannot get the first line to work:

download pre-builded archive from releases or build dmarc-report-converter executable:

go get -u github.com/tierpod/dmarc-report-converter
cd $HOME/go/src/github.com/tierpod/dmarc-report-converter
make bin/dmarc-report-converter
now you can run ./bin/dmarc-report-converter and test it

@planetahuevo
Copy link
Author

Find out how to do it. :)

@tierpod
Copy link
Owner

tierpod commented Aug 15, 2019

Hello @planetahuevo ! What kind of problem did you have? If you give me more information I will try to improve documentation or installation process.

@planetahuevo
Copy link
Author

Hi, Let me wrote it here:

  • First, if your server is new, you may need to have go installed.
    so in my case:
    sudo apt install golang-go
    After that this command didn´t work:
    go get -u github.com/tierpod/dmarc-report-converter
    not sure why, so I downloaded master and uploaded myself to the home folder
    cd $HOME/yourfolder/dmarc-report-converter-master
    then we can execute this from the root of the master folder, where the makefile is.
    make bin/dmarc-report-converter
    That will generate a bin folder on the same one.
    Then Steps 2-4 are right, and you can use make install for that, but you can have permissions problems and then it does not work as expected. Also the make install won´t rename the config file.
    So new steps will be (I do not think make install makes this easier).
  • copy bin/dmarc-report-converter executable to installation directory (for example, /opt/dmarc-report-converter) cp bin/dmarc-report-converter /opt/dmarc-report-converter
  • copy config/config.dist.yaml to installation directory, rename and edit it
cp config/config.dist.yaml /opt/dmarc-report-converter/config.yaml
nano /opt/dmarc-report-converter/config.yaml
  • copy templates directory to installation directory
    cp templates /opt/dmarc-report-converter/

And then edit assets and destination, but that is ok on your instructions if people know how to setup a webserver. Maybe a link to nginx for the ones that do not?
Also the config line commented with the long name does not work properly (I think, I edited, but I think something is not right there).

@tierpod
Copy link
Owner

tierpod commented Aug 16, 2019

Documentation has updated in the branch issue#13, could you read it?

@planetahuevo
Copy link
Author

I can. It is fantastic! Thanks!

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