![]() This will create a brand new installation of phpBB with XDebug installed to assist developers. It will already be preconfigured from the code in the phpbb/phpbb repository. Then on, create a new Codespace for this branch. If you have never done this before, the procedure is outlined at Step 2Ĭreate a new branch on your own fork of phpBB. ![]() The reporter provided some valuable information which acts as a good starting point, namely that the bug is on line 76 of prosilver/template/mcp_topic.html. We will use this bug (resolved here) to demonstrate how GitHub Codespaces works and how it can be used for phpBB development. In this case, we’ll look at a simple bug that was raised at – the number 0 appears as the default topic ID on the MCP move posts page, but there is no valid use case for this because it is an invalid ID. If there is not an existing ticket, you can create a new ticket, logging in using your login details. See if there is a ticket in the phpBB issue tracker describing the problem you would like to fix or the feature you would like to add. Use XDebug to debug phpBB code in real time.Use a Codespace to make a code change to phpBB.Create a GitHub Codespace with an automatically created fresh installation of phpBB.Effective immediately, the phpBB project on GitHub contains a pre-configured Codespace with a LAMP stack and XDebug, allowing developers to modify and debug a vanilla board which is already automatically installed. A web-based project like phpBB is a good fit for cloud development and while a local development environment is wonderful, the ability to quickly code and test changes on any device with a browser is nice to have in the arsenal.Ĭodespaces includes a web-based code editor (VS Code) as well as a virtual machine which can be used to run software. The tech world is moving towards the cloud at a rapid pace and software development is no exception. Even if you’re using some virtualisation software like Vagrant or containerisation software like Docker to simplify the process, it still takes up time that you’d prefer to spend coding. If you’re a PHP developer, you’ll know that setting up a new development environment can be annoying and time consuming! You have to find a code editor, you have to install a web server like Apache, a database and PHP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |