This repository is an elixir website for https://developer.elementary.io
.
It does some high level work for publishing applications to the elementary
AppCenter.
This guide assumes elementary OS 6 or Ubuntu 20.04; the steps should be similar for any Ubuntu-based OS, but may differ bassed on the exact distribution or version.
Install Docker
You can install Docker however you'd like, but we recommend following this DigitalOcean guide, including adding your user to the docker
group.
Install docker-compose
Similarly, you can install docker-compose however you see fit, but the fastest way is probably via Python's pip
:
sudo apt install python3-pip
pip3 install docker-compose
That's it, you're all set to start contributing.
This repository contains a docker-compose.yml
file for easier development.
Make sure you have docker-compose
installed, then run these commands:
1) docker-compose build
to build the containers. If you make changes to any
dependencies, or are getting issues where code does not seem to update, re-run
this step.
2) docker-compose up
to start the server and dependencies. This is your main
command and after you run steps 1 and 2, you should only need to run this
command to get back up and running.
If you change any configuration/secrets, you need to restart docker-compose up
for it to take effect.
All translations are extracted to the template files when new commits are pushed to master. If you would like to help translate this site, please see the elementary weblate instance.
This repository is setup with continuous integration and deployment. If you want to deploy your changes, all you need to do is open a PR to the master branch. Once your PR is accepted and merged in, it will automatically be deployed.