I assume in this post that you have already installed Serverpilot on your DigitalOcean Droplet, you have some basic Composer knowledge and that you are already connected to your server via SSH (using Putty for example).
Create an app in your Serverpilot Dashboard and install Bedrock
Start by creating a fresh app on your development server with your preffered username. Next SSH into your server and run the following command inside your app directory. I ran the following commands to get to my directory and downloaded Bedrock using the following commands:
cd /srv/users/**username**/apps/**appname**/ composer create-project roots/bedrock
Your directory should look likes this in order for the next command to work:
CHANGELOG.md composer.lock LICENSE.md README.md web composer.json config public vendor wp-cli.yml
If your bedrock files are in a folder called bedrock. Then you can run the following command to move all the files to the /**appname**/ folder.
mv bedrock/* ./
Then run a syslink command to connect your (empty) public folder to the web folder of Bedrock.
ln -s /srv/users/**username**/apps/**appname**/web /srv/users/**username**/apps/**appname**/public
Congrats! Bedrock is now installed and now you just have to fill in your Database information in the .env file located in the main folder of your app.
Recent Comments