Deployment related refactoring, fixes to Dockerfile
- Updated Dockerfile to include chmod of run script - Added app.json for Heroku quick deploy - Removed unused function var in js controller - Moved requirements back to root of repo - Added Codebeat report to readme
This commit is contained in:
parent
6f80c35fd2
commit
e21341d6f4
|
@ -3,6 +3,7 @@ FROM python:3
|
|||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN pip install --no-cache-dir -r config/requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN chmod +x ./run
|
||||
|
||||
CMD ["./run"]
|
||||
|
|
|
@ -5,6 +5,7 @@ ___
|
|||
[](https://github.com/benbusby/shoogle/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://travis-ci.com/benbusby/shoogle)
|
||||
[](https://codebeat.co/projects/github-com-benbusby-shoogle-master)
|
||||
|
||||
Get Google search results, but without any ads, javascript, AMP links, or tracking. Easily deployable as a Docker app, and customizable with a single config file. Quick and simple to implement as a primary search engine replacement on both desktop and mobile.
|
||||
|
||||
|
|
9
app.json
Normal file
9
app.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "Shoogle Search",
|
||||
"description": "A lightweight, privacy-oriented, containerized Google search proxy for desktop/mobile that removes Javascript, AMP links, and ads/sponsored content",
|
||||
"repository": "https://github.com/benbusby/shoogle",
|
||||
"logo": "https://raw.githubusercontent.com/benbusby/shoogle/master/app/static/img/favicon/ms-icon-150x150.png",
|
||||
"keywords": ["search", "metasearch", "flask", "docker", "heroku", "adblock", "degoogle", "privacy"],
|
||||
"image": "heroku/python"
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
let configSettings = JSON.parse(xhrGET.responseText);
|
||||
|
||||
nearConfig.value = configSettings["near"] ? configSettings["near"] : "";
|
||||
nearConfig.addEventListener("keyup", function(event) {
|
||||
nearConfig.addEventListener("keyup", function() {
|
||||
configSettings["near"] = nearConfig.value;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user