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

Run as a service on Homebrew #30

Closed
yakuter opened this issue Apr 15, 2020 · 8 comments
Closed

Run as a service on Homebrew #30

yakuter opened this issue Apr 15, 2020 · 8 comments
Assignees

Comments

@yakuter
Copy link
Collaborator

yakuter commented Apr 15, 2020

To make it easier to install passwall-api, homebrew installation as a service is needed.

@patyogesh
Copy link

patyogesh commented Apr 22, 2020

@yakuter I want to give this a shot. I will need to create a brew formula for this though, which needs git repository to host the formula. Would you be able to create a repository passwall-brew in pass-wall project?

@yakuter
Copy link
Collaborator Author

yakuter commented Apr 22, 2020

Great news. I created one now. Thank you.

https://github.com/pass-wall/passwall-brew

@yakuter
Copy link
Collaborator Author

yakuter commented Apr 23, 2020

Hi @patyogesh how is it going on the issue? Do you need anything I can provide?

@patyogesh patyogesh removed their assignment Apr 27, 2020
@patyogesh
Copy link

patyogesh commented Apr 27, 2020

@yakuter I have formula ready. Unable to push a PR though. Can you add me as a collaborator?
And assign me again?

ERROR: Permission to pass-wall/passwall-brew.git denied to patyogesh.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@patyogesh
Copy link

One issue I noticed while writing the formula is where to keep the store/config.yml file when passwall-server is installed using brew. In the current formula I am copying the default config file to #{HOMEBREW_PREFIX}/Cellar/passwall-server/#{version}/. Any thoughts?

@yakuter
Copy link
Collaborator Author

yakuter commented Apr 27, 2020

Hello @patyogesh. We need to connect not just config.yml but also store folder to #{HOMEBREW_PREFIX}/Cellar/passwall-server/#{version}/. Because we also have password.db for who uses SQL Lite and backup files passwall.bak. The folder you pointed is OK I think.

@patyogesh
Copy link

submitted this pull request.

@yakuter
Copy link
Collaborator Author

yakuter commented Oct 31, 2020

Now we user docker-compose to make server work at all environments. Closing the issue.

@yakuter yakuter closed this as completed Oct 31, 2020
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