Commit Graph

34 Commits

Author SHA1 Message Date
Roland Häder 9ccb113530
Ops, autorun.sh is there but looks like lesser "multi-project" friendly as
MYSQL_* must be defined. I might still use my version as that is
project-specific.
2022-06-21 17:48:10 +02:00
Roland Häder dcedd2e5d9
Ops, WWORD ... 2022-06-21 13:54:03 +02:00
Roland Häder 5e57ad4d44
Added simple wrapper script to run PHPUnit tests for you. To use this, you need
to set at least 4 variables in your ~/.bashrc (recommended):

export FRIENDICA_MYSQL_HOST="localhost"
export FRIENDICA_MYSQL_DATABASE="friendica_test"
export FRIENDICA_MYSQL_USER="friendica_test"
export FRIENDICA_MYSQL_PASSWWORD="friendica_test"

Then you can put ./bin/dev/run_tests.sh into your .git/hooks/pre-commit file
2022-06-21 13:47:40 +02:00
Philipp 195a2699a9
Add PHP8 to Vagrant 2021-10-18 20:39:36 +02:00
Tobias Diekershoff 9b23ac578e Vagrant: create the correct mail aliases during provision 2021-10-01 10:18:43 +02:00
Tobias Diekershoff d52e2ab791 Vagrant: Replace comment with more fitting one in provision 2021-10-01 10:00:01 +02:00
Tobias Diekershoff 7331e90c00 Vagrant: Avoid mis-leading error during setup
With the use of Friendicas auto-installation feature and the pre-configured
config file, the admin email address is set. Setting it again after the
installation is compleated will generate a mis-leading error message.
2021-10-01 08:41:58 +02:00
Tobias Diekershoff 93bbf27d52 Vagrant: Do not pull PHP requirements during VM setup
Don't pull the PHP requirements of Friendica with composer during the VM setup.

First coding is done out side of the VM, so should be the management of the
dependencies. Additionally if the _VirtualBox Guest Additions_ versions don't
match on the guest and host systems, writing to the shared directory will not
work, thus running composer will generate error messages during the initial
setup and Friendica wont work.
2021-10-01 08:37:19 +02:00
Philipp a676060eea
Remove outdated friendica_test_data.sql 2021-07-11 14:27:52 +02:00
fabrixxm dd1835d15d Update vagrant devbox provisioning
- run provisioning script as root
- don't load friendica_test_data.sql which is outdated
- install friendica and create users via console commands
- install cronjob in `/etc/cron.d/friendica` and run as `www-data` user
- force to have "vagrant-vbguest" insstalled. We need updated vbguest
  addins to correctly mount local folder
- add "config.hostname" and "system.ssl_policy" values in
  `local.config.vagrant.php`
2021-05-24 17:08:21 +02:00
Philipp f1e268ee0a
remove GitHub Action for PHP tests 2021-05-16 12:56:15 +02:00
Philipp 3f2d5c4111
Setup php-cs-fixer 2021-04-07 20:05:58 +02:00
Philipp 7b7322a90a
Remove PHPUnit dependency & create shell-script with description for it 2021-04-05 12:35:56 +02:00
Hypolite Petovan 004419de46 Remove references to removed frost theme 2021-02-09 23:25:47 -05:00
Tobias Diekershoff 89f75406fa added Roger Meyer to the credits 2020-09-09 07:43:41 +02:00
Hypolite Petovan b64b18e6f7 Remove obsolete view/js/acl.js
- Remove references to the deleted file
2019-11-28 12:54:56 -05:00
Casper c1a1f1ce26
Update vagrant_provision.sh
Line 20-27 -> add slash at the end of every entry and removed empty entries.
Caused error in creating .csr file
PS. the virtualbox-guest-x11 is not in the given debian repository. Better take an Ubuntu repository
Also inserted:
sudo apt-get install -y ubuntu-desktop
sudo systemctl set-default graphical.target
to install a desktop environment
2019-11-14 21:36:29 +00:00
Tobias Diekershoff 2a383688a6 added git as dependency for the Vagrant VM and made the call to compuser with www-data 2019-10-04 11:40:39 +02:00
Tobias Diekershoff d8f9d8556d updated Vagrand provision script
* removed leading spaces
* changed from MySQL to MariaDB
2019-10-01 10:17:15 +02:00
Tobias Diekershoff 0c3f123d9a remove empty lines 2019-01-14 07:02:05 +01:00
Tobias Diekershoff 8b586e9d6c Updated the CREDITS.TXT file for 2019.01
Additionally Transifex started to add lines to the header that confused the detection of "Translatorname, year" detection so the make_credits script had to be updated.
2019-01-14 06:57:37 +01:00
Hypolite Petovan 7b8441101f
Delete friendica-to-smarty-tpl.py 2018-12-27 01:51:59 -05:00
Hypolite Petovan f9db5e32e7
Delete updatetpl.py 2018-12-27 01:51:50 -05:00
Hypolite Petovan 1c5a19e245 Update path to friendica-to-smarty-tpl.py 2018-11-28 23:10:33 -05:00
Hypolite Petovan c0b3b73c88 Move files from util to mods
- Move local.config.vagrant.php
- Move fpostit
- Move bookmarklet-share2friendica
- Updated Readme file
2018-11-28 23:08:43 -05:00
Hypolite Petovan b42760b0e6 Move credits out of util/ 2018-11-28 22:59:06 -05:00
Hypolite Petovan 98d90e131d Update install to generate config/local.config.php 2018-11-25 01:44:09 -05:00
Tobias Diekershoff d81366bff4 cp htaccess in Vagrant VM on setup 2018-11-16 23:09:54 +01:00
Tobias Diekershoff 9518145377 switch the Vagrant VM to the new config system (#5396) 2018-07-18 15:32:24 -04:00
Hypolite Petovan 3fc21f0d64 Fix config mentions (no doc) 2018-07-16 19:38:14 -04:00
Tobias Diekershoff 48aafe4662 fixing the base path detection 2018-05-20 14:56:33 +02:00
Tobias Diekershoff f63be91bd5
Revert "Moved .htconfig.php file & extracted Install business logic" 2018-04-21 16:28:22 +02:00
Philipp Holzer 346697d771 Moved .htconfig file
Extracted install business functions to new Class `Install.php`
2018-04-21 14:10:53 +02:00
Hypolite Petovan 2d9f32c3df Move dev executables from util/ to bin/dev/ 2018-04-07 09:00:52 -04:00