segmed

command module
v0.0.0-...-95bc407 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2020 License: MIT Imports: 13 Imported by: 0

README

Prerequisites

  • have a letsencrypt ssl certificate
  • golang installed in a linux server
  • mysql installed

Installation

go get github.com/alonsopf/segmed 
  1. execute segmed.sql
  2. fill your prod_config.json with your keys and data
cd $GOPATH/src/github.com/alonsopf/segmed
  1. go run alonso.go
  2. test in: yoururl.com/segmed.ai/
  3. default user: alonsopf@gmail.com / segmedai
  4. default admin user: adam@segmed.ai / segmedai
  5. Example in: https://alonsopf.com/segmed.ai/

NOTE: I used mysql_native_password, so this is needed:

CREATE USER 'usersegmed'@'localhost' IDENTIFIED BY 'mypass';

GRANT ALL PRIVILEGES ON segmed.* TO 'usersegmed'@'localhost';
ALTER USER 'usersegmed'@'localhost' IDENTIFIED WITH mysql_native_password BY 'mypass';

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL