| @@ -36,19 +36,13 @@ In order to deploy DevDocs, you must: · 35 unmodified lines |
| 36 | aws configure --profile devdocs | 36 | aws configure --profile devdocs |
| 37 | ``` | 37 | ``` |
| 38 | | 38 | |
| 39 | - be provided with DevDocs's MaxCDN push zone credentials, and add them to your `.bash_profile` as such: | | |
| 40 | ``` | | |
| 41 | export DEVDOCS_DL_USERNAME="username" | | |
| 42 | export DEVDOCS_DL_PASSWORD="password" | | |
| 43 | ``` | | |
| 44 | | | |
| 45 | ## Thor commands | 39 | ## Thor commands |
| 46 | | 40 | |
| 47 | In addition to the [publicly-documented commands](https://github.com/freeCodeCamp/devdocs#available-commands), the following commands are aimed at DevDocs maintainers: | 41 | In addition to the [publicly-documented commands](https://github.com/freeCodeCamp/devdocs#available-commands), the following commands are aimed at DevDocs maintainers: |
| 48 | | 42 | |
| 49 | - `thor docs:package` | 43 | - `thor docs:package` |
| 50 | | 44 | |
| 51 | Generates packages for one or more documentations. Those packages are intended to be uploaded to DevDocs's MaxCDN push zone by maintainers via the `thor docs:upload` command, and downloaded by users via the `thor docs:download` command. | 45 | Generates packages for one or more documentations. Those packages are intended to be uploaded to DevDocs's S3 bundle zone by maintainers via the `thor docs:upload` command, and downloaded by users via the `thor docs:download` command. |
| 52 | | 46 | |
| 53 | Versions can be specified as such: `thor docs:package rails@5.2 node@10\ LTS`. | 47 | Versions can be specified as such: `thor docs:package rails@5.2 node@10\ LTS`. |
| 54 | | 48 | |
| @@ -59,9 +53,9 @@ In addition to the [publicly-documented commands](https://github.com/freeCodeCam · 4 unmodified lines |
| 59 | This command does two operations: | 53 | This command does two operations: |
| 60 | | 54 | |
| 61 | 1. sync the files for the specified documentations with S3 (used by the Heroku app); | 55 | 1. sync the files for the specified documentations with S3 (used by the Heroku app); |
| 62 | 2. upload the documentations' packages to DevDocs's MaxCDN push zone (used by the `thor docs:download` command). | 56 | 2. upload the documentations' packages to DevDocs's S3 bundle zone (used by the `thor docs:download` command). |
| 63 | | 57 | |
| 64 | For the command to work, you must have the AWS CLI and MaxCDN credentials configured as indicated above. | 58 | For the command to work, you must have the AWS CLI configured as indicated above. |
| 65 | | 59 | |
| 66 | **Important:** the app should always be deployed immediately after this command has finished running. Do not run this command unless you are able and ready to deploy DevDocs. | 60 | **Important:** the app should always be deployed immediately after this command has finished running. Do not run this command unless you are able and ready to deploy DevDocs. |
| 67 | | 61 | |