Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…dmin into setup
  • Loading branch information
VanshikaSabharwal committed Nov 17, 2024
2 parents eac28f7 + 9412b27 commit f1cd66a
Show file tree
Hide file tree
Showing 4 changed files with 497 additions and 507 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,16 @@ jobs:
run: |
timeout="${HEALTH_CHECK_TIMEOUT:-120}"
echo "Starting health check with ${timeout}s timeout"
while ! nc -z localhost 4321 && [ "$timeout" -gt 0 ]; do
while ! nc -z localhost 4321 && [ $timeout -gt 0 ]; do
sleep 1
timeout=$((timeout-1))
if [ "$((timeout % 10))" -eq 0 ]; then
if [ $((timeout % 10)) -eq 0 ]; then
echo "Still waiting for app to start... ${timeout}s remaining"
fi
done
if [ "$timeout" -eq 0 ]; then
if [ $timeout -eq 0 ]; then
echo "Timeout waiting for application to start"
echo "Container logs:"
docker logs talawa-admin-app-container
Expand All @@ -318,4 +318,4 @@ jobs:
if: github.event.pull_request.base.ref != 'develop-postgres'
run: |
echo "Error: Pull request target branch must be 'develop-postgres'. Please refer PR_GUIDELINES.md"
exit 1
exit 1
10 changes: 5 additions & 5 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,17 @@ If you prefer to use Docker, you can install the app using the following command
Run the following command to build the Docker image:
```bash
````bash
docker build -t talawa-admin .
```bash
3. Run the Docker container:
After the build is complete, run the Docker container using this command:
```bash
docker run -p 4321:4321 talawa-admin
```bash
The application will be accessible at `http://localhost:4321`
Expand All @@ -169,7 +169,7 @@ You can use our interactive setup script for the configuration. Use the followin
```bash
npm run setup
```bash
All the options in "setup" can be done manually as well and here's how to do it. - [Creating .env file](#creating-env-file)

Expand Down Expand Up @@ -379,4 +379,4 @@ If you don't want this hook to run, you can manually opt out of this using the `
git pull --no-verify
<br/>
```
```
Loading

0 comments on commit f1cd66a

Please sign in to comment.