Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
COM3014
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Abdelsamad, Mouaz R (UG - SISC)
COM3014
Commits
bfe67a8b
Commit
bfe67a8b
authored
11 months ago
by
lcross2002
Browse files
Options
Downloads
Patches
Plain Diff
update readme for dev instructions
parent
5b70397c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/README.md
+17
-17
17 additions, 17 deletions
client/README.md
with
17 additions
and
17 deletions
client/README.md
+
17
−
17
View file @
bfe67a8b
# Airline Booking System client
## How to develop the
UI without docker
## How to develop the
Client
Make sure you have node installed (e.g. version v20.11.0 which was used to create this).
Make sure you have
docker (latest) and
node installed (e.g.
node
version v20.11.0 which was used to create this).
1.
Install vite globally via
`npm install -g vite`
2.
Navigate to the client directory
3.
Run
`npm install`
4.
Run
`npm run dev`
5.
Make changes
6.
Go to http://localhost:8080/ to see the changes
## How to run the UI alone via docker
Note: this does not run the microservices.
Make sure you have docker installed.
1.
Navigate to the client directory
2.
Run
`docker build . -t "airline-client"`
3.
Run
`docker run -p 8080:8080 airline-client`
4.
Go to http://localhost:8080/ to view
\ No newline at end of file
2.
Comment out the client from the docker-compose file:
```
yml
# client:
# build:
# context: ./client
# image: client:${IMAGE_TAG}
# ports:
# - "${CLIENT_PORT}:4200"
```
3.
Run
`docker compose up -d --build`
4.
Navigate to the client directory
5.
Run
`npm install`
6.
Run
`npm run dev`
7.
Go to http://localhost:4200/ to view the app
8.
Make changes save the files and refresh the page
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment