This repository has been archived by the owner on Dec 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1107 from CityOfBoston/staging-cluster-support
Support for deploying to ECS staging cluster
- Loading branch information
Showing
14 changed files
with
1,147 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
memory_limit = 256M | ||
; Needs to be high enough that we can fetch and resize assets with stage_file, | ||
; but not so high that it eats all of the container memory. | ||
memory_limit = 384M | ||
max_execution_time = 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# About | ||
|
||
Web Console is a web-based application that allows to execute shell commands on a server directly from a browser (web-based SSH). | ||
The application is very light, does not require any database and can be installed and configured in about 3 minutes. | ||
|
||
If you like Web Console, please consider an opportunity to support it on Patreon (https://www.patreon.com/nickola). | ||
|
||
# Installation | ||
|
||
Installation process is really simple: | ||
|
||
- Download latest version of the Web Console. | ||
- Unpack archive and open file "webconsole.php" in your favorite text editor. | ||
- At the beginning of the file enter your $USER and $PASSWORD credentials, edit any other settings that you like (see description in the comments). | ||
- Upload changed "webconsole.php" file to the web server and open it in the browser. | ||
|
||
# About author | ||
|
||
Web Console has been developed by Nickolay Kovalev (http:https://nickola.ru). | ||
If you have interest job offers, you can see him contacts at his CV (http:https://cv.nickola.ru). | ||
Also, various third-party components are used. | ||
|
||
# Used components | ||
|
||
- jQuery JavaScript Library: https://github.com/jquery/jquery | ||
- jQuery Terminal Emulator: https://github.com/jcubic/jquery.terminal | ||
- jQuery Mouse Wheel Plugin: https://github.com/brandonaaron/jquery-mousewheel | ||
- PHP JSON-RPC 2.0 Server/Client Implementation: https://github.com/sergeyfast/eazy-jsonrpc | ||
- Normalize.css: https://github.com/necolas/normalize.css | ||
|
||
# URLs | ||
|
||
- GitHub: https://github.com/nickola/web-console | ||
- Patreon: https://www.patreon.com/nickola | ||
- Author: http:https://nickola.ru | ||
|
||
# License | ||
|
||
Web Console is licensed under GNU LGPL Version 3 (http:https://www.gnu.org/licenses/lgpl.html) license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Example '.htaccess' for Web Console | ||
|
||
Options -Indexes | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
RewriteRule ^/?$ %{REQUEST_URI}webconsole.php [L] | ||
RewriteRule !^(webconsole\.php|favicon\.ico)$ - [F] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
Order Deny,Allow | ||
Deny from all | ||
|
||
<Files "webconsole.php"> | ||
Order Allow,Deny | ||
Allow from all | ||
</Files> | ||
|
||
<Files "favicon.ico"> | ||
Order Allow,Deny | ||
Allow from all | ||
</Files> | ||
</IfModule> | ||
|
||
# Errors | ||
ErrorDocument 401 "401: Authorization Required | ||
ErrorDocument 403 "403: Access Forbidden | ||
ErrorDocument 404 "404: File not found | ||
ErrorDocument 500 "500: Internal Server Error |
Binary file not shown.
Oops, something went wrong.