Using env files
This article will teach you how to make ENV files on solarhosting this WILL NOT teach you how to code with them.
Go to your servers "File manager" and click "New file"

Now put in your data
PORT=0000
DB_IP="1.2.3.4"
TOKEN="example data"
Click "CREATE FILE"

Name it .env and then click "Create file"

Now your done. This file will be able to be edited in your file list like normal now!
Last updated