Skip to content
Snippets Groups Projects
Commit eaa23ebe authored by Jonas Leder's avatar Jonas Leder
Browse files

added instruction on import

parent 881ff30d
Branches
Tags
No related merge requests found
#To import data you need a excel style CSV (";" as seperator) with the first as short url (e.g. kurz.ml/example) and in the seccond row the long url (e.g http://example.com).
#Then run docker -it <container_name> python3 import.py Now you can paste the CSV as text and press enter again at the end
import sqlite3
import os
def table_check(): #Check if database exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment