-
Notifications
You must be signed in to change notification settings - Fork 1
Forge Server Setup
Rachel Rine edited this page Jan 25, 2019
·
2 revisions
- Open Forge
- Create a new Linode server
- Give it a name
- Select a size, use the smallest available
- Leave database name blank and install MariaDB
- Create server (will take 10 minutes or so)
- Create a new private repo on the madmadmad github account with a readme.md
- Copy the repo URL
- Create a new project from this boilerplate, and initialize a new repo
- Add the github repo as a new remote
- Push and prosper
- Return to Forge
- Navigate to your provisioned server
- Under active sites, select the default
- At the bottom of the page, click the X to delete the default
- Create a new site with your development url
- Choose github as your source
- Enter the repo path
madmadmad/yourproject
and set the branch to master - If desired, you can turn quick deploy on to deploy the site automatically on push
- Point the DNS to the IP of your new server; yourproject.madmadmad.net dev domains can be created in Hover.
- From the server admin panel on Forge, select the MySQL tab
- Add a database with a custom username and password
- From the server admin panel on Forge, select the Network tab
- Add a new firewall rule called
MYSQL
on port3306
with your IP address
- Open Sequel Pro
- Select the SSH option
- Enter your connection credentials.
- MySQL Host:
127.0.0.1
- Username: set above
- Password: set above
- SSH Host: server IP
- SSH User:
forge
- SSH Password: root password emailed to you at time of server provisioning
- MySQL Host:
Note: You do not have to enable remote access to connect to the database via Sequel Pro.
-
The server file path for forge is always
/home/forge/your.site.url/public
-
The server user is always
forge
-
Public folder permissions set to
755