Site Tools


Hotfix release available: 2026-07-14c "Mort". upgrade now! [57.3] (what's this?)
Hotfix release available: 2026-07-14b "Mort". upgrade now! [57.2] (what's this?)
Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
aws-team:projects:aws-and-ci-cd-sample-project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
aws-team:projects:aws-and-ci-cd-sample-project [2020/07/12 08:59] – [Deployment] hajiraws-team:projects:aws-and-ci-cd-sample-project [2026/06/26 08:49] (current) – external edit 127.0.0.1
Line 19: Line 19:
  
 //Requirements//: //Requirements//:
-Nginx +  * Nginx 
-PHP >= 7.0 +  * PHP >= 7.0 
-MySQL >= 5.7 +  * MySQL >= 5.7 
-NPM +  * NPM 
-Supervisor+  * Supervisor 
 //Installation//: //Installation//:
 +
 1. Installed php modules must be: 1. Installed php modules must be:
 <html><div class="codeline"></html> <html><div class="codeline"></html>
Line 31: Line 33:
  
 2. Create a database and add a guideline of how to get DB credentials 2. Create a database and add a guideline of how to get DB credentials
 +
 3. Import a SQL file into the created DB 3. Import a SQL file into the created DB
 +
 4. In DB change the id to 3 in users table where the id is 1 4. In DB change the id to 3 in users table where the id is 1
 +
 5. Copy env variables file called .env from S3 or local storage. For the CI/CD sample project, please add secrets to GitHub for .env file 5. Copy env variables file called .env from S3 or local storage. For the CI/CD sample project, please add secrets to GitHub for .env file
 +
 6. Run (composer is not pre-installed): 6. Run (composer is not pre-installed):
  
 <html><div class="codeline"></html> <html><div class="codeline"></html>
-code@terminal:~$ composer install %%--optimize-autoloader%%+code@terminal:~$ composer install %%--%%optimize-autoloader
 <html></div></html> <html></div></html>
  
Line 71: Line 77:
 process_name=%(program_name)s_%(process_num)02d   process_name=%(program_name)s_%(process_num)02d  
  
-command=php /PATH_TO_PROJECT/artisan queue:work --tries=3  +command=php /PATH_TO_PROJECT/artisan queue:work %%--%%tries=3  
  
 autostart=true   autostart=true  
Line 90: Line 96:
  
 <html><div class="codeline"></html> <html><div class="codeline"></html>
-* * * * * php /var/www/medvoice/artisan schedule:run >> /dev/null 2>&1+* * * * * php /var/www/PATH_TO_PROJECT/artisan schedule:run %%>>%% /dev/null 2>&1
 <html></div></html> <html></div></html>
  
 11. Setup SSL. We recommend AWS certificates instead of Let’s encrypt. 11. Setup SSL. We recommend AWS certificates instead of Let’s encrypt.
 +
 We also expect a guideline, written in markdown format, to setup and config our servers. We also expect a guideline, written in markdown format, to setup and config our servers.
  
aws-team/projects/aws-and-ci-cd-sample-project.1594544348.txt.gz · Last modified: 2026/06/26 08:49 (external edit)