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

First Iteration of Application Server Deploy Script #2319

Merged
merged 4 commits into from Nov 2, 2021

Conversation

VinaiRachakonda
Copy link
Contributor

No description provided.

@VinaiRachakonda VinaiRachakonda self-assigned this Nov 2, 2021
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM

setup_configs() {
# Set up the dolt user along with core dolt configurations
echo "Setting up Configurations..."
useradd -r -m -d /var/lib/doltdb dolt
Copy link
Member

Choose a reason for hiding this comment

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

Want to check if this user exists first, err if so

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we make this configurable? Might be annoying if someone runs the script multiple times/.

database_configuration() {
echo "Setting up the dolt database..."

read -e -p "Input the name of your database: " -i "doltdb" db_name
Copy link
Member

Choose a reason for hiding this comment

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

Too many doltdb references, just call this mydb or something

@VinaiRachakonda VinaiRachakonda changed the title [WIP] First Iteration of Application Server Deploy Script First Iteration of Application Server Deploy Script Nov 2, 2021
@VinaiRachakonda VinaiRachakonda merged commit aa783d0 into main Nov 2, 2021
@Hydrocharged Hydrocharged deleted the vinai/deploy-script branch December 8, 2021 07:17
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.

None yet

2 participants