|
|
(36 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This is a page for taking notes for current workflow process. Intended for further processing and organization. | | This is a page for taking notes for current workflow process. Intended for further processing and organization. |
|
| |
|
| == Laravel 5 == | | == Notes on Wesleyan Holiness theology == |
|
| |
|
| === Prerequisite environment setup === | | * John Wesley |
| | ** [http://www.umcmission.org/Find-Resources/John-Wesley-Sermons/The-Wesleys-and-Their-Times/Short-History-of-Methodism A Short History of Methodism] (1765) (identified 3 doctrines) |
| | ** [http://www.umcmission.org/Find-Resources/John-Wesley-Sermons/The-Wesleys-and-Their-Times/The-Character-of-a-Methodist Character of a Methodist] (1742) |
| | ** [https://books.google.com/books?id=kHo9AAAAYAAJ&lpg=PA254&ots=PTqyaNlopW&dq=%2B%22the%20principles%20of%20a%20methodist%22&pg=PA254#v=onepage&q=+%22the%20principles%20of%20a%20methodist%22&f=false The Principles of a Methodist] (1742) |
|
| |
|
| Make sure you have PHP 5.4 or greater version installed. On a Debian-derived distribution such as Ubuntu, it's as simple as <code># apt-get install php5</code>.
| | == UMC Korean English terms == |
|
| |
|
| Other basic requirements are mcrypt, mbstring. OpenSSL support is built-in on this version<ref name="openssl">''Stack Exchange''. Program documentation. ''Stack Exchange''. N.p., n.d. Web. 26 Feb. 2015. <http://askubuntu.com/questions/323005/php-openssl-extension-has-a-package>.</ref>. I also install JSON, xdebug, sqlite, readline, mysql, memcached, intl, and curl.
| | * [https://likumc.org/cp/?p=21816 영・한 용어 대조표 (UMC English-Korean Terminology) | Long Island Korean United Methodist Church (likumc.org)] |
|
| |
|
| <div class="cli">
| | == UMC disaffiliation == |
| <span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span><span style="color:blue;">~/testing</span><span style="color:#cccccc;">
| |
| $ sudo apt-get install php5-mcrypt php5-json php5-xdebug php5-sqlite php5-readline php5-mysql php5-memcached php5-intl php5-curl
| |
| </span>
| |
| </div>
| |
|
| |
|
| mbstring is a part of libapache2-mod-php5 package<ref class="mbstring">''Stack Exchange''. Program documentation. ''Stack Exchange''. N.p., n.d. Web. 26 Feb. 2015. <http://askubuntu.com/questions/491629/how-to-install-php-mbstring-extension-in-ubuntu>.</ref>.
| | * [https://juicyecumenism.com/2022/11/07/wesleyan-investment-foundation/ Loans Available for Exiting United Methodist Churches - Juicy Ecumenism] |
| | |
| <div class="cli">
| |
| <span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span><span style="color:blue;">~/testing</span><span style="color:#cccccc;">
| |
| $ sudo apt-get install libapache2-mod-php5
| |
| </span>
| |
| </div>
| |
| === Installation ===
| |
| | |
| Download Laravel installer using Composer.
| |
| | |
| <source lang="bash" highlight="1">
| |
| $ composer global require "laravel/installer=~1.1"
| |
| Changed current directory to /home/mhan/.composer
| |
| ./composer.json has been created
| |
| Loading composer repositories with package information
| |
| Updating dependencies (including require-dev)
| |
| - Installing symfony/process (v2.6.4)
| |
| Down Downloading: 100%
| |
| | |
| - Installing symfony/console (v2.6.4)
| |
| Down Downloading: 100%
| |
| | |
| - Installing guzzlehttp/streams (2.1.0)
| |
| Down Downloading: 100%
| |
| | |
| - Installing guzzlehttp/guzzle (4.2.3)
| |
| Down Downloading: 100%
| |
| | |
| - Installing laravel/installer (v1.2.0)
| |
| Down Downloading: 100%
| |
| | |
| symfony/console suggests installing symfony/event-dispatcher ()
| |
| symfony/console suggests installing psr/log (For using the console logger)
| |
| Writing lock file
| |
| Generating autoload files
| |
| </source>
| |
| | |
| Instead of adding <span class="shell">~/.composer/vendor/bin</span> to the PATH environment variable, I simply made a symbolic link to it in <span class="shell">~/bin/</span> folder.
| |
| | |
| <source lang="bash">
| |
| $ ln -s ~/.composer/vendor/bin/laravel ~/bin/laravel
| |
| </source>
| |
| | |
| Create a new Laravel application.
| |
| | |
| <div class="cli">
| |
| <span style="color:#00ff00;">mhan</span><span style="color:#444444;">@</span><span style="color:#00cccc;">brahms</span><span style="color:#999999">:</span><span style="color:blue;">~/testing</span><span style="color:#cccccc;">
| |
| $ laravel new sanban
| |
| </span><br>
| |
| <span style="color:#00aa00;">Crafting application...</span><br>
| |
| <span style="color:#cccccc;">
| |
| Generating optimized class loader<br>
| |
| Compiling common classes<br>
| |
| Compiling views<br>
| |
| Application key [CJwBsllwDbWLlxy7zH7zRATmSu2laUyA] set successfully.<br>
| |
| </span>
| |
| </div>
| |
| | |
| Then I enable access to this new application via web. This is an apache config.
| |
| | |
| <source lang="apache">
| |
| <VirtualHost *:80>
| |
| ServerAdmin admin@hostname.com
| |
| ServerName sanban.hostname.com
| |
| ServerSignature Off
| |
| DocumentRoot /srv/www/sanban.hostname.com/public
| |
| | |
| <Directory /srv/www/sanban.hostname.com/public>
| |
| Options -Indexes +FollowSymLinks -MultiViews
| |
| AllowOverride All
| |
| Require all granted
| |
| </Directory>
| |
| </VirtualHost>
| |
| </source>
| |
| | |
| Make sure to restart the httpd (i.e. <code>$ service apache2 restart</code> on Ubuntu).
| |
| | |
| * ''Tested on Ubuntu 14.04.2 LTS, Apache/2.4.9, PHP 5.5.15RC1, Laravel (5.0; installer version 1.2.0) / medium / less than 10 minutes
| |
| | |
| == References ==
| |
| <div class="references-small"><references /></div>
| |