Skip to content

nashi2603/urlreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URL Reader

installation and Startup

  1. Get API key from "Google CloudVision".

  2. rename file.

$ cd urlreader/results
$ mv sample_APIkey.json APIkey.json
  1. write on the file for "urlreader/results/APIkey.json".
{
    "APIkey": "insert your API key"
}
  1. comment out config.

$ $EDITOR urlreader/settings.py

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["insert your domain or address."]
~ ~ ~
# STATIC_ROOT = "static"
STATIC_ROOT = "static"
  1. run your terminal command.
$ pip install -r requirements.txt
$ cd urlreader ; python manage.py collectstatic
$ uwsgi --http :8000 --wsgi-file urlreader/wsgi.py
  1. test server. (optional)

Do not use when releasing.

$ python manage.py runserver

development environmental

  • Python 3
  • Django 2.2.7
  • uWSGI

About

in image URL reader.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •