-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Wassim-Rached/master
Master
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/bash | ||
|
||
touch -p /home/site/wwwroot/.env | ||
touch /home/site/wwwroot/.env | ||
cp /home/site/wwwroot/nginx/default.conf /etc/nginx/sites-available/default && service nginx restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
symfony project up on : localhost:1001 | ||
phpmyadmin up on: localhost:1002 | ||
|
||
# to shut down the containers | ||
docker-compose down | ||
# to start or create the containers | ||
docker-compose up | ||
|
||
# to create new branch in git | ||
git checkout -b branch_name | ||
|
||
# to push the branch to the remote repository | ||
git add . | ||
git commit -m "message" | ||
git push origin branch_name |