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 readmemain
parent
6f80c35fd2
commit
e21341d6f4
|
@ -3,6 +3,7 @@ FROM python:3
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
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"]
|
CMD ["./run"]
|
||||||
|
|
|
@ -5,6 +5,7 @@ ___
|
||||||
[![Latest Release](https://img.shields.io/github/v/release/benbusby/shoogle)](https://github.com/benbusby/shoogle/releases)
|
[![Latest Release](https://img.shields.io/github/v/release/benbusby/shoogle)](https://github.com/benbusby/shoogle/releases)
|
||||||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
|
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
|
||||||
[![Build Status](https://travis-ci.com/benbusby/shoogle.svg?token=JgVbn8LSCz5Mmr9h5qq7&branch=master)](https://travis-ci.com/benbusby/shoogle)
|
[![Build Status](https://travis-ci.com/benbusby/shoogle.svg?token=JgVbn8LSCz5Mmr9h5qq7&branch=master)](https://travis-ci.com/benbusby/shoogle)
|
||||||
|
[![codebeat badge](https://codebeat.co/badges/e96cada2-fb6f-4528-8285-7d72abd74e8d)](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.
|
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.
|
||||||
|
|
||||||
|
|
|
@ -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);
|
let configSettings = JSON.parse(xhrGET.responseText);
|
||||||
|
|
||||||
nearConfig.value = configSettings["near"] ? configSettings["near"] : "";
|
nearConfig.value = configSettings["near"] ? configSettings["near"] : "";
|
||||||
nearConfig.addEventListener("keyup", function(event) {
|
nearConfig.addEventListener("keyup", function() {
|
||||||
configSettings["near"] = nearConfig.value;
|
configSettings["near"] = nearConfig.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue