-
Notifications
You must be signed in to change notification settings - Fork 220
Automate EduAid Installation with setup.sh
#219
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
base: main
Are you sure you want to change the base?
Automate EduAid Installation with setup.sh
#219
Conversation
setup.sh
…the content from .env.example to .env
Hey, we already have a |
Yes, but that script is specifically for setting up the other repo we clone and for the backend. This script, on the other hand, will handle the complete project setup from scratch—installing dependencies for both the backend and frontend, creating the .env file, and running the project. It's essentially a setup.sh script. |
@Aditya062003 what are your thoughts on this should we keep this as one of the installation method for those who couldnt use docker setup? or maybe we can skip this, i am not sure about this, @kartik-212004 i was actually thinking to have a docker setup instead of a shell script which will setup this but do you have any usecases where this can be preferred? |
@Roaster05 u are right but ,the shell script is essential because we need to clone the s2v-old repo before setting up the project. Without it, users would have to manually clone and configure everything, which can be error-prone. While Docker is a great option, but we cannot use docker to clone the app until and unless we push it into docker hub, the script provides flexibility for those who can't use Docker or prefer a native setup. Keeping it as an alternative could be useful. What do you think? |
Automate EduAid Installation with
setup.sh
closes #218
Summary
This PR introduces a new
setup.sh
script in the root directory, enabling one-command installation for EduAid. The script automates dependency installation, environment setup, and service initialization, reducing manual setup steps.setup.sh
script for automated installation.Cross- Platform setup script
Changes Implemented
setup.sh
script to handle full project setup.pip install -r requirements.txt
..env.example
to.env
, and duplicate its content.npm install
).EduAid Setup Guide
This guide provides instructions on how to set up EduAid after pulling the branch.
Prerequisites
Installation
./setup.sh
service_account_key.json
and overwrite it with your secret