First install Composer, then:
$ composer create-project laravel/laravel <project-name>After that we can start a webserver, and test the default index page:
First install Composer, then:
$ composer create-project laravel/laravel <project-name>After that we can start a webserver, and test the default index page:
| <script> | |
| var resources = <%=Resources%>; | |
| var viewModel = {localize:resources}; | |
| ko.applyBindings(viewModel); | |
| </script> | |
| <span data-bind="text:localize.Message"></span> | |
| <span data-bind="text:localize.Message_Help"></span> | |
| user www-data; | |
| worker_processes 4; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| use epoll; | |
| multi_accept on; |
| global | |
| log 127.0.0.1 syslog | |
| maxconn 1000 | |
| user haproxy | |
| group haproxy | |
| daemon | |
| defaults | |
| log global |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| // Based on code from the following sources: | |
| // * http://www.voiceoftech.com/swhitley/index.php/2009/03/twitter-oauth-with-net/ | |
| // * http://oauth.googlecode.com/svn/code/csharp/ | |
| // Note: if you're using mono the following command will compile this code `gmcs -r:System.Web.dll this_file.cs` | |
| using System; | |
| using System.Security.Cryptography; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Net; |