Skip to content

adastreamer/ton-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SETUP

opm --cwd install bungle/lua-resty-template
opm --cwd install ledgetech/lua-resty-http

RUN WEB

LUA_PATH=";;./?.lua;./resty_modules/lualib/?.lua" nginx -p `pwd`/ -c conf/nginx.conf

SETUP DATABASE

CREATE DATABASE ton;
CREATE USER 'ton'@'localhost' IDENTIFIED BY 'ton';
GRANT ALL PRIVILEGES ON * . * TO 'ton'@'localhost';
FLUSH PRIVILEGES;

RUN SCRIPTS

LUA_PATH=";;./?.lua;./resty_modules/lualib/?.lua" resty ./scripts/parse.lua