This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello, I'm working on a Vagrant bootstrap.sh script. I'm hoping to automate the provisioning of a development environment, including the installation and configuration of October. I've gotten pretty far, but ran into an issue with the October installation using the command line:
composer create-project october/october myoctober dev-master
When I do this, I encounter the following:
Created project in myoctober Loading composer repositories with package information Installing dependencies (including require-dev) - Installing composer/installers (v1.0.21) Downloading: Connecting... Could not fetch https://api.github.com/repos/composer/installers/zipball/d64e23fce42a4063d63262b19b8e7c0f3b5e4c45, please create a GitHub OAuth token to go over the API rate limit Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+precise32+2015-05-22+2239 to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer. Token (hidden):
My intent is to make this as automated as possible, so I'd like to avoid manually generating an API key in the GitHub website interface. I'm trying to get some feedback on the problem. There seems to be two possible solutions:
- Somehow circumvent the GitHub API rate limit issue.
- Try to automate the installation by downloading the October Zip file and programmatically configuring October (instead of using the web interface).
Any suggestions? Thanks, Bret
Last updated
Bret, I think you have hit the rate limit during your testing. Under normal circumstances this would not occur. The rate limit is imposed on your IP address, I assume.
clone458396 Were you ever able to get this to work and if so would you mind sharing the script you used to do it? I am just now starting a project where I would like to use OctoberCMS in a Vagrant box and I am just beginning with both so I am not very experienced. I am just starting my research phase for figuring out how to get OctoberCMS installed as well as setting up the required Database structure and whatnot.
Guys, you should first specify a previously generated GitHub OAuth token with the following command:
composer config -g github-oauth.github.com <oauthtoken>
After that, you can download the application source code using Composer:
composer create-project october/october myoctober dev-master
In addition, it's possible to cancel the last question (Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? ), running downloading with the option "-n":
composer create-project -n october/october myoctober dev-master
Completely autonomously script for installing October via composer is:
composer config -g github-oauth.github.com <oauthtoken>
composer create-project -n october/october myoctober dev-master
php artisan october:up
Last updated
Zigzag said:
Guys, you should first specify a previously generated GitHub OAuth token with the following command:
composer config -g github-oauth.github.com <oauthtoken>
After that, you can download the application source code using Composer:
composer create-project october/october myoctober dev-master
In addition, it's possible to cancel the last question (Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? ), running downloading with the option "-n":
composer create-project -n october/october myoctober dev-master
Completely autonomously script for installing October via composer is:
composer config -g github-oauth.github.com
composer create-project -n october/october myoctober dev-master php artisan october:up
Thanks it worked well
1-6 of 6