To be able to use the panel dashboard on the server with the domain you must add
'install' => true
'languages' => true,
Now, let's add it to the server. We will give you here two options, the simplest one, and our workflow with Git version control.
The simplest solution is just to upload all files from
zero-onefolder to your desired folder (domain root etc) on the server and it will work. That's it. 🙂
PLEASE NOTE: This is our opinionated way of doing it. You can of course do it differently.
There is a
.gitignorefile you should check out, in the website root.
When you do work for a client and you want content to be updated on the server, but to keep control over code updates through Git, then after installing on the server you should add this line in the theme root
# Ignore content
Run the next command in your terminal
git rm -r --cached path_to_your_content_folder/
And push changes. It will delete
contentfolder on the server, but your local
contentfolder will remain. After that upload manually
contentfolder to the website root.
After this, your local content changes will not be tracked by Git.