| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Please find the file php.ini. (On Linux it is located at /etc/php/version/cli/php.ini).
Uncomment all lines with the required PHP-dependencies.
Example for dependency mbstring:
;extension=mbstring ---> extension=mbstring
To install the PHP-dependencies on Ubuntu (Example with Ubuntu as operating system and a php-version of 7.4)
sudo apt-get install php7.4-mbstring sudo apt-get install php7.4-sqlite (php7.4-mysql for prod) sudo apt-get install php7.4-gd sudo apt-get install php7.4-curl sudo apt-get install php7.4-xml
Alternatively install Composer dependency manager from here. Then run composer install.
git clone https://github.com/vektorprogrammet/vektorprogrammet.git
npm run setup
npm run setup:win
npm start
When adding new images or other non-code files, you can run:
npm run build
so that the files are put in the correct places. (this is automatically done when doing npm start)
| Position | Username | Password | Role |
|---|---|---|---|
| Assistent | assistent | 1234 | ROLE_USER |
| Teammedlem | teammember | 1234 | ROLE_TEAM_MEMBER |
| Teamleder | teamleader | 1234 | ROLE_TEAM_LEADER |
| Admin | admin | 1234 | ROLE_ADMIN |
Code style should follow a certain set of rules. Make sure your code adheres to these rules before opening a PR.
npm run -s cs
npm run -s cs:win
Tests should be run before opening a PR.
npm run test
npm run test:win
npm run test "tests/PATH_TO_TEST"
or (without needing the exact path)
npm run test -- --filter "NAME_OF_FILE"
npm run db:update
npm run db:reload
Build docker image: npm run docker:build
Set up docker image: npm run docker:setup
Run commands in docker image npm run docker:run -- <CMD>
e.g. npm run docker:run -- npm run db:update
| Back | FazBrowse Home | New Git URL |