Skip to content

Commit

Permalink
Merge pull request #85 from Ejdamm/issue31_newName
Browse files Browse the repository at this point in the history
Change all occurences of startplats to market board
  • Loading branch information
Ejdamm authored Oct 31, 2020
2 parents e769de2 + e7681e8 commit e08e2ed
Show file tree
Hide file tree
Showing 30 changed files with 1,021 additions and 596 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root -ppassword
- sudo service mysql restart
- mysql -u root -ppassword -e 'CREATE DATABASE IF NOT EXISTS startplats_test;'
- mysql -u root -ppassword -e 'CREATE DATABASE IF NOT EXISTS market-board_test;'

script:
- composer install
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* `Error: Class 'path/to/class' not found`
* Try running: `composer update`
* Are the tests located under `./tests/` folder?
* Is the wanted class to test using the correct namespace (`use Startplats\Tests\Unit;`)?
* Is the wanted class to test using the correct namespace (`use MarketBoard\Tests\Unit;`)?

### Git hooks
* To enable that all tests are executed and green before every push is done (`git push`).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Startplats
# Market Board

## Installation for Apache
Enable mod_rewrite module `sudo a2enmod rewrite`

Setup a virtual host in /etc/apache2/sites-enabled/000-default.conf
```
<VirtualHost *:80>
DocumentRoot /var/www/html/startplats/public
DocumentRoot /var/www/html/market-board/public
ServerName localhost
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/html/startplats/public">
<Directory "/var/www/html/market-board/public">
AllowOverride All
Order allow,deny
Allow from all
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "startplats/startplats",
"homepage": "https://github.com/Ejdamm/startplats",
"name": "market-board/market-board",
"homepage": "https://github.com/Ejdamm/market-board",
"config": {
"platform": {
"php": "7.2"
Expand All @@ -25,13 +25,13 @@
},
"autoload": {
"psr-4": {
"Startplats\\": "src/"
"MarketBoard\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Startplats\\Tests\\Functional\\": "tests/functional/",
"Startplats\\Tests\\Unit\\": "tests/unit/"
"MarketBoard\\Tests\\Functional\\": "tests/functional/",
"MarketBoard\\Tests\\Unit\\": "tests/unit/"
}
},
"scripts":{
Expand Down
Loading

0 comments on commit e08e2ed

Please sign in to comment.