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.

  1. Go to your servers "File manager" and click "New file"

  1. Now put in your data

PORT=0000

DB_IP="1.2.3.4"

TOKEN="example data"
  1. Click "CREATE FILE"

  1. Name it .env and then click "Create file"

Shows up after clicking create file

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

Last updated