User Tools

Site Tools


dndwebapp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dndwebapp [2020/02/21 21:33]
chasty2 [Back End Documentation]
dndwebapp [2020/02/25 21:45]
benbigmac [Back End Documentation]
Line 39: Line 39:
 Docker Notes: Docker Notes:
 __ __
 +<code bash>
 ## Enter these commands in bash on a Linux environment. ## Enter these commands in bash on a Linux environment.
  
Line 46: Line 46:
 docker pull mysql:5.7 docker pull mysql:5.7
  
-## Insert firewall rule for docker container and save.  +## Insert ​iptables ​firewall rule for docker container ​at port 3306 and save. Note that the docker ​daemon must be started after iptables is running. If iptables or a firewall is not running this is not necessary. ​
- +
-## NOTE: Docker ​daemon must be started after iptables is running. +
- +
-## NOTE: If iptables or a firewall is not running this is not necessary. ​+
  
 iptables -A INPUT -i docker0 -p tcp -m tcp --dport 3306 -j ACCEPT iptables -A INPUT -i docker0 -p tcp -m tcp --dport 3306 -j ACCEPT
Line 68: Line 64:
 use lugdb use lugdb
  
-CREATE TABLE account(id INT NOT NULL AUTO_INCREMENT,​ accountName VARCHAR(20) NOT NULL, password VARCHAR(100) NOT NULL, email VARCHAR(254) NOT NULL, PRIMARY KEY (id);+CREATE TABLE account(id INT NOT NULL AUTO_INCREMENT,​ accountName VARCHAR(20) NOT NULL, password VARCHAR(100) NOT NULL, email VARCHAR(254) NOT NULL, PRIMARY KEY (id));
  
 ## (in mysql) Show table. ## (in mysql) Show table.
Line 77: Line 73:
  
 quit quit
 +</​code>​
 ===== Meeting Notes===== ===== Meeting Notes=====
 ==== Meeting 1 [11/​09/​2018]==== ==== Meeting 1 [11/​09/​2018]====
dndwebapp.txt · Last modified: 2020/02/28 21:11 by chasty2