As our GitlabHQ setup at
SRMvision is mean to stay, we
wanted to migrate from the standard SQLite database to an easier to
manage for us : mySQL.
The steps are quite straighforward, first, setup mySQL :
Then prepare to dump the data out of GitlabHQ, stop your webserver,
then, from your GitlabHQ folder :
this will create a db/data.yml file. All you have to do now is
reconfigure GitlabHQ to connect to mySQL and reimport the data. The
database configuration takes place in the config/database.yml file,
backup your existing file and rename the database.yml.example :
Then edit the file to reflect your new configuration, only the
production section is relevant in our case :
Once this is done, you have to create the schema and restore your data
:
Job's done, you just need to restart the GitlabHQ server now (nginx,
apache...). If you encounter a problem and this does not work as
expected, you just have to restore the database.yml.old file to go
back to SQLite.
# Dark mode supportAs you might know, iOS supports Dark mode since
iOS 12. It is pretty straightforward to implement it by using
dynamic ...…
Continue reading