mirror of
https://github.com/flarum/framework.git
synced 2025-03-21 12:35:15 +08:00
Merge branch 'master' of https://github.com/flarum/core
This commit is contained in:
commit
7970817903
@ -68,18 +68,24 @@ Currently Flarum is in its very early stages, and it isn’t pretty. **It is far
|
||||
2. Create a new [Laravel 4](http://laravel.com/docs/4.2/quick) project.
|
||||
3. Run the following command in your project directory:
|
||||
|
||||
```
|
||||
composer require flarum/core
|
||||
```
|
||||
|
||||
4. Create a new MySQL database and enter your details into `app/config/packages/flarum/core/config.php`.
|
||||
5. Run the Flarum migrations and database seeder to generate dummy data:
|
||||
|
||||
```
|
||||
php artisan migrate
|
||||
php artisan db:seed --class="Flarum\Core\Support\DatabaseSeeder"
|
||||
```
|
||||
|
||||
6. Run the following commands to compile the Ember app:
|
||||
|
||||
```
|
||||
cd vendor/flarum/core/ember
|
||||
ember serve --output-path="../public"
|
||||
```
|
||||
|
||||
7. Visit your Laravel application in a browser.
|
||||
|
||||
@ -109,9 +115,11 @@ Building Flarum is going to be a team effort, and we'd love for you to help! All
|
||||
|
||||
3. Create a new branch.
|
||||
|
||||
```
|
||||
git checkout -b new-flarum-branch
|
||||
```
|
||||
|
||||
> Please implement only one feature/bugfix per branch to keep pull requests clean and focused.
|
||||
> Please implement only one feature/bugfix per branch to keep pull requests clean and focused.
|
||||
|
||||
4. Code.
|
||||
- Follow the coding style: [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md).
|
||||
@ -123,17 +131,23 @@ Building Flarum is going to be a team effort, and we'd love for you to help! All
|
||||
|
||||
6. Clean up. Squash together minor commits.
|
||||
|
||||
```
|
||||
git rebase -i
|
||||
```
|
||||
|
||||
7. Update your branch so that it is based on top of the latest code from the Flarum repository.
|
||||
|
||||
```
|
||||
git fetch origin
|
||||
git rebase origin/master
|
||||
```
|
||||
|
||||
8. Fork your repository on GitHub and push to it.
|
||||
|
||||
```
|
||||
git remote add mine git@github.com:<your user name>/flarum.git
|
||||
git push mine new-flarum-branch
|
||||
```
|
||||
|
||||
9. Submit a pull request.
|
||||
- Go to the Flarum repository you just pushed to (e.g. https://github.com/your-user-name/flarum).
|
||||
@ -149,7 +163,7 @@ Building Flarum is going to be a team effort, and we'd love for you to help! All
|
||||
|
||||
### Core Team
|
||||
|
||||
Currently the only person on the core development team is Toby Zerner ([@tobscure](http://twitter.com/tobscure)). Over time, judged by display of commitment to the project, and quantity/quality of contributions, I will be looking for more people to join the core development team. Please do not email me asking to be on the core team; rather, demonstrate initiative and commitment to the project and I will notice!
|
||||
Currently the only person on the core development team is Toby Zerner ([@tobscure](http://twitter.com/tobscure)). Over time, judged by display of commitment to the project, and quantity/quality of contributions, I will be looking for more people to join the core development team. Please do not email me asking to be on the core team; rather, demonstrate initiative and commitment to the project, and I will more than likely notice!
|
||||
|
||||
### Contributor License Agreement
|
||||
|
||||
@ -159,4 +173,4 @@ You confirm that you are able to grant us these rights. You represent that You a
|
||||
|
||||
You represent that the Contributions are Your original works of authorship, and to Your knowledge, no other person claims, or has the right to claim, any right in any invention or patent related to the Contributions. You also represent that You are not legally obligated, whether by entering into an agreement or otherwise, in any way that conflicts with the terms of this license.
|
||||
|
||||
Toby Zerner acknowledges that, except as explicitly described in this Agreement, any Contribution which you provide is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Toby Zerner acknowledges that, except as explicitly described in this Agreement, any Contribution which you provide is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
Loading…
x
Reference in New Issue
Block a user