Install Dev Space Website
Last updated
Last updated
You will need to setup a web service with proxy support such as nginx or apache.
Here is a guide to setup nginx.
These will be used later in the install.
Setup a web service like nginx or apache.
Download the devspace_nginx.conf
file above.
Edit the config file with your domain server_name dev.example.com
and your ssl certificate ssl_certificate
and ssl_certificate_key
if you use Cloudflare you can use the Origin certificate for this.
Go to /etc/nginx
folder and upload the devspace_nginx.conf
file to your sites-enabled
folder.
Reload nginx using sudo service nginx reload
Upload the website files to your server.
Open the server terminal and go to the website folder using cd /website
for example and run chmod +x DevSpaceWeb
to make it executable for the docker container.
Run docker compose up -d
to start the website.
You should see Container devspace-web Started
this confirms that it's working.
Open up your browser and visit your dev.example.com
domain.
You can easily update the website with a small package which will show up in the info menu if available.
Go to the Dev Space Web folder on your server.
Run docker compose down
Upload and overwrite the current files with the new ones.
Run docker compose up -d
You will need to setup your instance of Dev Space with certain information and also create an administrator account for your instance.
Download the latest version of the website
Download the update here