A Linux Apache MySQL Python web application that generates discounted cash flow valuations
Assuming Apache and MySQL are already installed:
- Clone the repository to the
/var/www/htmldirectory - Download
font-awesome-4.7.0andfont-mfizz-2.3.0to the/var/www/htmldirectory - Copy
conf/httpd.confto the/etc/httpd/confdirectory - Create symbolic link:
ln -s valumodel.com/html/index.html index.htmlin the/var/www/htmldirectory - Setup Databases and Password in MySQL:
mysql -u root -e "CREATE DATABASE valumodel; USE valumodel; CREATE TABLE avg (ticker VARCHAR(10), enterprise_value DOUBLE);"
mysqladmin -u root password '$Dcfr$ck1'
- Restart the Apache and MySQL:
#!/bin/bash
sudo service httpd restart
sudo service mysql restart
#!/bin/bash
sudo service httpd stop
sudo opt/certbot-auto --apache renew
sudo service httpd restart
# sudo crontab -e
53 4 * * * service httpd restart
Linux
Apache HTTP Server
MySQL
Python
HTML
CSS
Javascript
Font Awesome
Font Mfizz
Amazon Web Services
Let's Encrypt
Certbot
Installing LAMP on AWS
Python in the Web
mod_python Documentation
MySQL Connector Python Documentation





