Re: cannot login - PHP
Posted: Thu May 28, 2015 3:51 pm
Composer should be installed globally (/usr/local/bin, for example), so using that should be straightforward. Periodically (like once a month) run "composer self-update" and it will take care of itself.
I can't necessarily give specific details for installation because I don't know where you're getting the project source. Assuming it's from Git, then something like this should do:
[text][04:47 pm] [~/Sites]
$ git clone https://github.com/obfuscated/obfuscated.git ./Project-Name
Cloning into './Project-Name'...
remote: Counting objects: 350, done.
remote: Total 350 (delta 0), reused 0 (delta 0), pack-reused 350
Receiving objects: 100% (350/350), 405.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (155/155), done.
Checking connectivity... done.
[04:47 pm] [~/Sites]
$ cd Project-Name/
[04:47 pm] [~/Sites/Project-Name] [git master]
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing symfony/translation (v2.5.12)
Downloading: 100%
- Installing symfony/security-core (v2.5.12)
Downloading: 100%
[snip]
laravel/framework suggests installing doctrine/dbal (Allow renaming columns and dropping SQLite columns.)
Writing lock file
Generating autoload files
Generating optimized class loader
Compiling common classes
Compiling views
[04:49 pm] [~/Sites/Project-Name] [git master]
$[/text]
That's it. Make sure app/storage etc. is writable, update your DB credentials, and the project should run.
I can't necessarily give specific details for installation because I don't know where you're getting the project source. Assuming it's from Git, then something like this should do:
[text][04:47 pm] [~/Sites]
$ git clone https://github.com/obfuscated/obfuscated.git ./Project-Name
Cloning into './Project-Name'...
remote: Counting objects: 350, done.
remote: Total 350 (delta 0), reused 0 (delta 0), pack-reused 350
Receiving objects: 100% (350/350), 405.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (155/155), done.
Checking connectivity... done.
[04:47 pm] [~/Sites]
$ cd Project-Name/
[04:47 pm] [~/Sites/Project-Name] [git master]
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing symfony/translation (v2.5.12)
Downloading: 100%
- Installing symfony/security-core (v2.5.12)
Downloading: 100%
[snip]
laravel/framework suggests installing doctrine/dbal (Allow renaming columns and dropping SQLite columns.)
Writing lock file
Generating autoload files
Generating optimized class loader
Compiling common classes
Compiling views
[04:49 pm] [~/Sites/Project-Name] [git master]
$[/text]
That's it. Make sure app/storage etc. is writable, update your DB credentials, and the project should run.