Skip to content

git-flash/FLASH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLASH

This is a member attendance and event tracker for FLASH.

This project can be run in docker with the up.bash/up.bat file.

Running Local

  • Install Docker and docker-compose
  • Clone project
    • git clone https://github.com/git-flash/FLASH.git
  • Run ./up.bash in Linux/MacOS or up.bat in Windows
    • On Windows ensure entrypoint.sh has LF line endings
  • All gems are auto-installed by docker
  • Ruby is auto-installed by docker
  • Database is set up automatically by docker
  • Local will run on localhost:3000
  • Stop the sever by sending a termination (Ctrl+C in the terminal)
  • Every launch will initialize a new database adn reflect all ruby changes
    • If a new database is not needed run docker-compose up instead of the up.bash/up.bat script

Deployment

Github Actions setup

  • Rubocop and brakeman are run daily at 8am and on every push/pull request to dev and master branches.
  • dev branch will automatically deploy to flashpoint8
  • master branch will automatically deploy to flash-point
  • CI/CD is automatically set up when .github/workflows has files added

CI/CD Details

  • The application implements CI/CD using GitHub Actions (More details above) and Heroku as its main tools.

  • Continous Integration (CI):

    • CI is done using Github Actions. The workflow in the .github folder runs if the following situations:
      • Daily at 8 AM
      • Every Push/Pull request to dev
      • Every Push/Pull request to master
    • The workflow in the .github folder runs the following tests: Brakeman and Rubocop
    • You can find the results of these tests in the Actions tab on GitHub once they have run
    • You will see a green check if they passed or a red 'X' if they failed
  • Continous Develpoment (CD):

    • Heroku was the main tool for CD
      • Heroku builds and deploys all pushes
      • Heroku will wait for the CI to pass before depolyment
    • Pipeline (Heroku will use this for CD):

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published