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

A better local install method #66

Closed
pglombardo opened this issue Aug 21, 2017 · 4 comments
Closed

A better local install method #66

pglombardo opened this issue Aug 21, 2017 · 4 comments

Comments

@pglombardo
Copy link
Owner

Instead of:

git clone [email protected]:pglombardo/PasswordPusher.git
cd PasswordPusher
gem install bundler
bundle install --without development production test --deployment
bundle exec rake assets:precompile
RAILS_ENV=private bundle exec rake db:setup
foreman start internalweb

Then view the site @ http://localhost:5000/.

we should provide a ruby executable to do this in one step. So the resulting instructions would be:

git clone [email protected]:pglombardo/PasswordPusher.git
cd PasswordPusher
./bin/run_private

Then view the site @ http://localhost:5000/.

That script can/should also:

  1. Validate Ruby version
  2. Existence of required base gems (e.g. bundler)
    etc...
@alexeygolikov
Copy link

docker

@pglombardo
Copy link
Owner Author

We have a Dockerfile posted onto a branch. I need to put it on master: https://github.com/pglombardo/PasswordPusher/blob/pwpush.com/Dockerfile

...And we're on Docker hub. I need to put this in the README - thanks for pointing this out!

@pglombardo
Copy link
Owner Author

#78

@pglombardo
Copy link
Owner Author

Docker containers are now the preferred installation method. The local install method is suggested only for local development.

https://hub.docker.com/u/pglombardo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants