Template for the Open Social Platform.sh trials.
How to use:
-
Create a new project on Platform.sh Configure the project by selecting a name and the necessary resources, etc. Make sure to select that you want to import "an existing project". You should see instructions to push existing code to platform.
git remote add platform [id]@git.[region].platform.sh:[id].git git push -u platform master
-
Clone this repository into a new directory and go to this directory.
-
Change the composer.json file to your liking. E.g. change open_social version or add new modules.
-
Run composer install in this directory.
-
Add everything to a new commit, including composer.lock.
git add . git remote add platform [id]@git.[region].platform.sh:[id].git git push -u platform master
-
Install the site using the UI interface from the project URL on platform.sh
-
Now go and develop this your custom Open Social site. Remember you can add custom modules, themes etc by placing this in either html/modules/custom or html/themes/custom.
The deploy hooks are defined in .platform.app.yaml and may be changed according to your needs.
@TODO: Define how we are going to use configuration management to ensure overrides are not removed.