-
Notifications
You must be signed in to change notification settings - Fork 8
Canopy Installation
Connor Plunkett edited this page Jun 1, 2021
·
2 revisions
- Clone repo into your projects folder
git clone https://github.com/AppStateESS/canopy.git - Ensure that PHP & Composer are installed
run
composer installwithin the Canopy 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 canopy directory. change permissions bychmod 755to the corresponding folders. If at any time you need to restart the setup go into/config/core/and delete all of the following files. - Follow the configuration instructions.
Note: for the ones using docker and canopy 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_dbotherwise usepostgres_db. For projects like slideshow, leave theportsection blank in the setup. - 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.
- If at any time you change the permissions of a folder and still the setup is giving you errors. Follow Connecting to the database and add the folders or change the permissions in the docker container.
- 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>