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

Shell script for easy setup of the project #1053

Closed
wants to merge 9 commits into from
Closed

Shell script for easy setup of the project #1053

wants to merge 9 commits into from

Conversation

ndkshr
Copy link

@ndkshr ndkshr commented Aug 10, 2019

Issue Reference

Adds shell script to automate the entire setup for both Apple Mac and Ubuntu Linux

Summarize

Shell script has options from downloading and installing python to setup of postgresql. It automates and detects the OS and executes the commands.

Note: Different Linux distros use different package manager, this PR specifically deals with brew and apt only, since they are the most popular ones around.

sh docker.sh
# PostgreSQL : Expecting that brew is preinstalled in your mac
brew install postgres
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not working? brew services start postgres?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not work on my mac the first time, but the commands in this PR will work. Not the straightforward method, but it has a degree of certainty

then
# Install Git and the repo for Kerala Rescue
brew install git
# ======= Uncomment the following line if you do not have the repository downloaded
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docker installation is missing brew cask install docker.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker is not mandatory, as per my understanding. The docker might repeat the same stuffs again.

@biswaz
Copy link

biswaz commented Aug 15, 2019

Duplicate of #1092

@biswaz biswaz marked this as a duplicate of #1092 Aug 15, 2019
@biswaz biswaz closed this Aug 15, 2019
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

Successfully merging this pull request may close these issues.

3 participants