Deployment tasks - jaagupku/spicy-memes GitHub Wiki

Step 1 - Validate HTML and CSS

  1. Get latest commit from repository git pull
  2. Start XAMPP Apache and MySQL services.
  3. Start ngrok tunnel to localhost by ngrok http 80 and copy link at Forwarding http://*******.ngrok.io
  4. Validate HTML Validator and CSS Validator by entering http://*******.ngrok.io link.
  5. WCAG 2.0 validator

Step 2 - Fix HTML and/or CSS

  1. Estimate effort needed to fix HTML and/or CSS
  2. If needed notify rest of the team.
  3. Fix problems and repeat step 1.

Step 3 - Browsers support

  1. Test 60% most used desktop and mobile browsers.

Step 4 - Browser size tests

  1. Open any browser and go to localhost.
  2. Change browser width and height and make sure webpage changes layout dynamically.
  3. Use http://browsershots.org/ with ngrok to do more in depth tests.

Step 5 - Deployment

  1. Commit fixes if necessary and close ngrok tunnel with Ctrl+C.
  2. Now everything should be finished to deploy the phase.
  3. Add git tag by git tag -a etapp-X -m "Etapp X done" and then git push --tags
  4. Change $config['base_url'] = 'http://localhost/'; at /application/config and enter server database details in database config.
  5. Deploy git repository by FTP (SFTP) ( you probably need to use OpenVPN to connect the ftp).
  6. Check if everything worked by going to http://spicymemes.cs.ut.ee/.
  7. ???
  8. Profit