forked from vtsykun/packeton
-
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.
- Loading branch information
Showing
3 changed files
with
55 additions
and
47 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 |
---|---|---|
|
@@ -142,7 +142,9 @@ Installation | |
php bin/console packagist:user:manager username [email protected] --password=123456 --admin | ||
``` | ||
|
||
6. Enable cron tabs and background jobs. | ||
6. (optional) If you changed the configuration files, then you need to clear the cache `rm -rf var/cache/*` or `php bin/console cache:clear` | ||
|
||
7. Enable cron tabs and background jobs. | ||
Enable crontab `crontab -e -u www-data` or use Docker friendly build-in cron demand runner. | ||
|
||
``` | ||
|
@@ -183,13 +185,13 @@ priority=1 | |
user=www-data | ||
``` | ||
|
||
7. **IMPORTANT** Make sure that web-server, cron and supervisor run under the same user, that should have an ssh key | ||
8. **IMPORTANT** Make sure that web-server, cron and supervisor run under the same user, that should have an ssh key | ||
that gives it read (clone) access to your git/svn/hg repositories. If you run application under `www-data` | ||
you can add your ssh keys to /var/www/.ssh/ | ||
|
||
You should now be able to access the site, create a user, etc. | ||
|
||
8. Make a VirtualHost with DocumentRoot pointing to public/ | ||
9. Make a VirtualHost with DocumentRoot pointing to public/ | ||
|
||
Ssh key access and composer oauth token. | ||
----------------------- | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ x-pkg-param: &pkg-param | |
required: true | ||
type: "string" | ||
|
||
|
||
paths: | ||
'/api/webhook-invoke/{name}': | ||
post: | ||
|
@@ -47,7 +46,7 @@ paths: | |
post: | ||
tags: [ Packages ] | ||
summary: 'Create a package' | ||
example: $Package | ||
example: $PackageCreate | ||
|
||
'/api/packages': | ||
get: | ||
|
@@ -78,7 +77,7 @@ paths: | |
put: | ||
tags: [ Packages ] | ||
summary: 'Update a package' | ||
example: $Package | ||
example: $PackageUpdate | ||
<<: *pkg-param | ||
|
||
'/api/packages/{name}/changelog': | ||
|
@@ -98,9 +97,12 @@ paths: | |
in: query | ||
|
||
examples: | ||
Package: | | ||
PackageCreate: | | ||
{ | ||
"repository": "[email protected]:sonata-project/SonataSeoBundle.git", | ||
"credentials": 1 | ||
} | ||
PackageUpdate: | | ||
{ | ||
"repository": { | ||
"url": "[email protected]:sonata-project/SonataSeoBundle.git" | ||
} | ||
"repository": "[email protected]:sonata-project/SonataSeoBundle.git" | ||
} |