-
Notifications
You must be signed in to change notification settings - Fork 40
Installation of Phpwebsite for ESS Students
Cydney Caldwell edited this page Mar 18, 2020
·
3 revisions
- Clone repo into your projects folder
git clone https://github.com/AppStateESS/phpwebsite.git - Ensure that PHP & Composer are installed
run
composer installwithin the phpwebsite directory. Note: There is a good chance you will have to install other software here
- Install Docker Engine
- Install Docker Compose
- Expand permissions for Docker by making a group. Don't forget to restart for this to take effect.
- Run
docker-compose build - Run
docker-compose up -dto start the containers. Note: you will have to do this every time you start up your machine.
- head to
localhost:8080and initialize a config Note: At this point you may need to adjust your permissions on the folders within your phpwebsite directory. change permissions bychmod 755to the corresponding folders. - Follow the configuration instructions.
Note: for the ones using docker and phpwebsite as a development build while configuring, note that your database location will not be localhost. There are three running containers: one for web, one for mysql, and one for postgresql. If you want mysql then the host will be
mysql_dbport4306otherwise usepostgres_dbport5432. - If you encounter an error with install you may have to delete your config file from the config folder in order to attempt the install again.
- This is a good time to install Node
sudo apt-get install npm(Ubuntu) - This is also a good time to install themes that correspond to each unique module
git clone <repo_url>