#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
toconfig.php
and open it - Change
database_name
tothenetwork
- Change
mysql_username
touser
andmysql_password
topassword
- 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.