Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.
/ adb-public Public archive

Public version of the activist database

Notifications You must be signed in to change notification settings

dxe/adb-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adb

Activist Database Project

Run

First, download all the needed dependencies. Then start the server by running go run main.go and going to localhost:8080.

Deploy

To deploy, you need a user account that has the "adb" group and also has passwordless sudo enabled.

The server uses daemontools on the server to run. See the Makefile for more info on how to deploy.

Set up mysql locally for development

First, install mysql server. Then, create a user and database like this:

CREATE USER adb_user@localhost IDENTIFIED BY 'adbpassword';
GRANT ALL PRIVILEGES ON *.* to adb_user@localhost;
FLUSH PRIVILEGES;

CREATE DATABASE adb_db CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE adb_test_db CHARACTER SET utf8 COLLATE utf8_general_ci;

Then run make dev_db.

About

Public version of the activist database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published