vim-castle/.vim/vimwiki/vimwiki_html/work_clients_high_touch_ene...

45 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="Stylesheet" type="text/css" href="style.css">
<title>work_clients_high_touch_enertech_capture</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h4 id="toc_0.0.0.1">Capture App</h4>
<p>
Make sure SQL is running
If necessary, add 'socketPath' to mysql.sock to the exports.mysql in config.
Slackware:
socketPath: '/var/run/mysql/mysql.sock'
</p>
<p>
Make sure redis-server is running
</p>
<h5 id="toc_0.0.0.1.1">Notes from Dev</h5>
<p>
All the sites are currently in subdirectories on a Ubuntu server on Digital Ocean, but the update I'm slowly working on is being written to use standalone Amazon EC2 instances for the app, S3 for file storage and RDS for the databases.
</p>
<p>
The app is written in Node.js, uses MySQL for the data storage and Redis for session management. The app was written to be fast and standalone, but uses too much memory once there are several instances running on the same server or when the number of organizations reach tens of thousands.
</p>
<p>
Currently all the instances are running on the same server using different databases and ports, and are accessed through a domain mapping proxy. I've been setting them up by 1) copying over the source, 2) editing the config.js file, 3) creating a new database with the included structure, and 4) adding the domain name and port to the proxy.
</p>
<p>
The original source is attached. He can take a look at the server by SSHing or SFTPing into 104.131.164.134 using u: root p: enertech!
</p>
<p>
Feel free to send this on to any other developers you talk to as well, but be careful not to send the password to anyone you don't trust.
</p>
</body>
</html>