Skip to content

gordfisch/mymuse

Repository files navigation

MyMuse for Joomla 5

Sell your tunes online. Sell your merchandise. A component for Joomla 5. This is a test site. Find the official release at http://www.joomlamymuse.com

The component files are in the src directory

  • administrator/

  • install/

  • media/

  • modules/

  • plugins/

  • site/

  • tests/

  • manifest.xml - included in the component

  • script.php - included in the component

  • build.xml - used by phing to copy files into /joomla

Releases

  • com_mymuse-*****.zip - the latest build
  • com_mymuse-latest.zip - copy of the latest build

Set up local environment

  • Clone the repository:
git clone https://github.com/gordfisch/mymuseJ5.git


Install all the needed composer packages for mymuse:

	composer install

### Testing with Joomla  ###
Install Joomla dev inside MyMuse

Clone the repository:

	git clone https://github.com/joomla/joomla-cms.git joomla-cms

Go to the joomla folder:

	cd joomla-cms

Go to the 5* branch:

	git checkout 5.2-dev

Install all the needed composer packages:

	composer install

Install all the needed npm packages:

	npm ci


If your web root is /var/www/html and you clone the repository there, you can reach the test install at
http://localhost/mymuse/joomla-cms

To install, go to http://localhost/mymuse/joomla-cms

Tests follow the instructions at https://github.com/joomla/joomla-cms/
Edit the file cypress.config.dist.js. Save as cypress.config.js

Mail tests may require using smtpauth if you cannot mail from localhost.


#### Testing with Codeception and Joomla Browser ####
You need 'composer' installed

	$ cd joomla

	$ composer install

We use the chrome webdriver we have put into joomla/bin

Start it in the background like this

	$ ./bin/chromedriver --url-base=/wd/hub &

Run the first test

	$ php vendor/bin/codecept run acceptance AdminLoginCest

If all goes well, try installing MyMuse

	$ php vendor/bin/codecept run acceptance MyMuseBasicCest

OR use the mymake script

	$ ./mymake webdriver

	$ ./mymake component

	$ ./mymake test

### Building ###

* mymake - shell script to aid in building
	$ ./mymake webdriver
	: Will start the chrome webdriver in the background

	$ ./mymake phing
	: Will copy files from src to joomla into correct spots. You need phing installed: https://www.phing.info/

	$ ./mymake component
	: Will zip up the component and put copies in /releases and joomla/tests/data

	$ ./mymake test [sub-test]
	: Will run all acceptance tests, or the one you want (ex. ./mymake test MyMuseBasicCest.php).

	$ ./mymake all
	: Will make the component then run all tests
	cd joomla
	php vendor/bin/codecept --steps run acceptance
	php vendor/bin/codecept --steps run reports
	php vendor/bin/codecept --steps run storage


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors