This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
| public function view() { | |
| if($this->request->is('post')) { | |
| $data = $this->request->data['HashAlgorithm']; | |
| $this->log($data); | |
| $this->redirect(array('controller' => 'HashResults' ,'action' => 'inputPlaintext', $data)); | |
| } | |
| $conditions = array( | |
| 'fields' => array('name'), | |
| 'order' => array('name ASC') |
| APP_ENV=testing | |
| APP_KEY=SomeRandomString | |
| DB_CONNECTION=testing | |
| DB_TEST_USERNAME=root | |
| DB_TEST_PASSWORD= | |
| CACHE_DRIVER=array | |
| SESSION_DRIVER=array | |
| QUEUE_DRIVER=sync |
| # general shortcuts | |
| alias home="cd ~" | |
| alias ls="ls -lG " | |
| alias lsla="ls -laG " | |
| # Git Shortcuts | |
| alias gs="git status" | |
| alias ga="git add" | |
| alias gaa="git add ." |
| URL | HTTP Verb | Action |
|---|---|---|
| /photos/ | GET | index |
| /photos/new | GET | new |
| /photos | POST | create |
| /photos/:id | GET | show |
| /photos/:id/edit | GET | edit |
| /photos/:id | PATCH/PUT | update |
| /photos/:id | DELETE | destroy |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: |
| { | |
| "schemes" : | |
| [ | |
| { | |
| "name" : "Seoul256", | |
| "background" : "#545454", | |
| "foreground" : "#d0d0d0", | |
| "cursorColor" : "#d0d0d0", | |
| "brightBlack" : "#626262", | |
| "brightRed" : "#d68787", |