RSS Git Download  Clone
  RepositoryTest.php 966B p3x-robot sunday release 2018-5-21 17:55:57 3 years, 7 months ago
[//]: #@corifeus-header [![Build Status](]( [![Scrutinizer Code Quality](]( [![Code Coverage](]( # 🤖 P3X Gitlist v2.7.18-755 This is an open-source project. Star this repository if you like it, or even donate! Thank you so much! :) I run my own server with dynamic IP address so it may happen that the server can not be reachable for about max 15 minutes due to the dynamic DNS. The server may also be unreachable when I backup the SSD with Clonzilla (very rarely) or an electrical issue (but this should not happen again). When the server is down, please hang on for 15-30 minutes and the server will be back up. All my domains ( and could have errors since I am developing in my free time. However, it is usually stable. ### Node Version Requirement ``` >=8.9.0 ``` ### Built on Node ``` v10.1.0 ``` The ```async``` and ```await``` keywords are required. Install NodeJs: # Description [//]: #@corifeus-header:end This is Klaus Silveira's fork, with multiple themes (dark/light), sub-modules, uglify-es, webpack, toast, pure Bootstrap 3 and upgraded to PHP7.1 with all components. ### PHP > 7.1 only [README](artifacts/ # Release version/update info ## Package Done, just put on your server, nothing to build: ### Web server You might need to tune your web server, to only parse the `public/index.php` PHP script, so you can view your `php` files in `P3X GitList`. #### PHP Memory It is possible, that some big commits are huge and for now, it loads everything. In `V3`, everything will be `lazy`, but looks like I had a huge commit and I had to set my `PHP.ini` had to change like: ```text max_execution_time = 120 memory_limit = 512M ``` I checked and the big commit was using 258 MBytes. Though even the `browser` is almost `hanging`, take a long time to `render` the page. ## There is a changing break ### First Before, everything was in the `root` of the web server. Which is not secure. For now, you can create a folder eg. `/var/www/` and make sure, that you server does not point to `/var/www/`, but instead, point to `/var/www/`. ### Second The `config.ini` file with `url_subdir` or later `clone_subdir` variable has been changed to the `git_clone_subdir` variable. ### Third 😀 I removed `Babel`, we are in 2018. If you want use an older `Browser` (like iPhone 5), you can probably install latest `Chrome` and it will work. Besides, without `Babel` the `JavaScript` is much faster. (At work, without `Babel`, bigger `JS` file and works `20x` faster.) #### The last version with Babel The following versions are not using `Babel`!!!! Yikes! ### Unreleased / in progress * Allow to edit non binary files * Upload binary files * Add new files * Delete files * Localization * In submodules, if the "submodule" and "path" is not the same, it chokes (it should work the submodule name and path are not the same) * Works * submodule "path/name" * path path/name * Not working * submodule "name" * path path/name [Change log]( ... # Old info # Live demo # Installation ## Requirements By now `composer` is not enough. We are using `webpack`, `babel`, `less`, `grunt` ... For the build on your workstation (less, babel, Bootstrap themes, and webpack): * ```NodeJs``` >= 10 * ```Grunt``` (npm install -g npm grunt-cli) * `Composer` In order to run GitList on your server, you'll need: * ```git``` * ```Apache``` with ```mod_rewrite``` enabled or ```nginx``` * ```PHP``` >= 7.1 ## By hand If you have Composer in your path, things get easier. But you know the drill. If want to get the project dependencies, and build everything: ``` git clone curl -s | php php composer.phar install # i use Node v10 and NPM v6 sudo npm install -g npm grunt-cli npm install # if you do not want to create a release # just work on it # now the js and css is built on the fly # in the ./public folder npm run watch # if you have bash and want to create a full release # and strip all unneeded files, # optimize the packagist vendor folder # you might need zip from linux # the files will be in the ./build/release folder # and the zip is in the ./build/release/ file ./scripts/ ``` [Install]( - here. [//]: #@corifeus-footer --- [**P3X-GITLIST**]( Build v2.7.18-755 [![Like Corifeus @ Facebook](]( [![Donate for Corifeus / P3X](]( [![Contact Corifeus / P3X](]( ## P3X Sponsors [IntelliJ - The most intelligent Java IDE]( [![JetBrains](]( [![NoSQLBooster](]( [The Smartest IDE for MongoDB]( [//]: #@corifeus-footer:end