Skip to content

SiddharthMalhotra/docker-flask-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run the app using the command: docker-compose up

If facing any errors, kill any already exisiting containers using: docker rm -v $(docker ps --filter status=exited -q)

Clean build an application: docker-compose build --no-cache (Runs the DockerFiles from strach)

Force recreate docker application (Post clean build): docker-compose up --force-recreate (Not necessary as such)

For re-building the Angular app, in client folder: npm install , ng build, ng serve

Features:

  • Card-based list of tickets
  • Pagination after 25 tickets
  • Pagination disabled when next_page= null
  • Clickable cards: single ticket view
  • Responsive

Run the python happy tests using - docker-compose -f docker-compose.yml run --rm flask_demo python manage.py test

Application can be accessed by browsing on localhost