Skip to content

teddykoker/thenetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#The Network Here it is! Taken down

This is my final project for my senior year in High School. I still need to think of a name... ##Author Tom Koker ##Run Locally using Docker Download thenetork source code:

git clone https://github.com/tomkoker/thenetwork.git

Make a config file:

  • Copy config.php.sample to config.php and open it
  • Change database_name to thenetwork
  • Change mysql_username to user and mysql_password to password
  • Add email credentials

Pull my LAMP Docker Image:

docker pull tomkoker/lamp

Run the image:

docker run --name thenetwork -p 80:80 -it -v /path/to/thenetwork:/var/www/site tomkoker/lamp /bin/bash

This should put you in a root shell of your container. Then run:

service apache2 start && service mysql start

Initialize the MySQL database:

mysql -u user --password=password < /var/www/site/init.sql #the default password is 'password'

You should now be able to visit the site at localhost.

About

Highschool capstone project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published