wikicenter

所属分类:博客
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2023-06-08 18:46:58
上 传 者sh-1993
说明:  维基中心
(wikicenter)

文件列表:
.editorconfig (258, 2023-09-07)
.env.example (269, 2023-09-07)
TODO.md (756, 2023-09-07)
app/ (0, 2023-09-07)
app/Actions/ (0, 2023-09-07)
app/Actions/GeneratePdf.php (503, 2023-09-07)
app/Console/ (0, 2023-09-07)
app/Console/Kernel.php (573, 2023-09-07)
app/Exceptions/ (0, 2023-09-07)
app/Exceptions/Handler.php (1029, 2023-09-07)
app/Filament/ (0, 2023-09-07)
app/Filament/Fabricator/ (0, 2023-09-07)
app/Filament/Fabricator/Layouts/ (0, 2023-09-07)
app/Filament/Fabricator/Layouts/DefaultLayout.php (183, 2023-09-07)
app/Filament/Fabricator/PageBlocks/ (0, 2023-09-07)
app/Filament/Fabricator/PageBlocks/ContentTipTapBlock.php (598, 2023-09-07)
app/Filament/Fabricator/PageBlocks/HeadingBlock.php (1320, 2023-09-07)
app/Filament/Fabricator/PageBlocks/ImageCuratorBlock.php (758, 2023-09-07)
app/Filament/Fabricator/PageBlocks/TitleBlock.php (549, 2023-09-07)
app/Filament/Pages/ (0, 2023-09-07)
app/Filament/Pages/Login.php (427, 2023-09-07)
app/Filament/Resources/ (0, 2023-09-07)
app/Filament/Resources/PageResource.php (681, 2023-09-07)
app/Filament/Resources/PageResource/ (0, 2023-09-07)
app/Filament/Resources/PageResource/Pages/ (0, 2023-09-07)
app/Filament/Resources/PageResource/Pages/EditPage.php (1432, 2023-09-07)
app/Http/ (0, 2023-09-07)
app/Http/Controllers/ (0, 2023-09-07)
app/Http/Controllers/Controller.php (299, 2023-09-07)
app/Http/Kernel.php (2655, 2023-09-07)
app/Http/Middleware/ (0, 2023-09-07)
app/Http/Middleware/Authenticate.php (409, 2023-09-07)
app/Http/Middleware/EncryptCookies.php (307, 2023-09-07)
app/Http/Middleware/PreventRequestsDuringMaintenance.php (366, 2023-09-07)
app/Http/Middleware/RedirectIfAuthenticated.php (760, 2023-09-07)
app/Http/Middleware/TrimStrings.php (381, 2023-09-07)
... ...

## About WikiCenter ![Intro 1](https://github.com/ijpatricio/wikicenter/blob/master/./docs/images/intro-1.png) It is a Wiki software :) The creation and outline can be read on this [Blog Post](https://github.com/ijpatricio/wikicenter/blob/master/https://blog.jpat.dev/building-a-wiki-software-with-laravel-and-filament) Visit [Youtube Playlist](https://github.com/ijpatricio/wikicenter/blob/master/https://www.youtube.com/watch?v=aRI9-DzXOkI&list=PL2Njk5tK9lmuM5Oac06vxILXJvoYS3Qrs) to see live coding sessions on this repository. ## Roadmap [Visit TODO's](https://github.com/ijpatricio/wikicenter/blob/master/./TODO.md) ## Running locally #### With Docker Desktop After clone the project you need to take the following steps: 1. Run the composer install ```shell composer install ``` 2. Copy the .env.example file and create new one ```shell cp .env.example .env ``` 3. Generate a key ```shell php artisan key:generate ``` 4. Build container ```shell ./vendor/bin/sail up ``` 5. Run the migrations ```shell sail artisan migrate ``` 6. Seed database with dummy data ```shell sail artisan db:seed ``` In case you are running commands inside container, you just need to run `php artisan db:seed` without the prefix sail. 7. Install frontend dependencies ```shell npm install && npm run dev ``` 8. Go to `http://localhost/admin` 9. Enjoy ## Running WikiCenter on GitPod GitPod is a Cloud Based Development Environment. It allows us to automate the creation of an environment on the cloud, to develop, check Features and PR previews live, onboarding people faster, pair programming, playgrounds, and more. If you want to try it, [open in GitPod](https://github.com/ijpatricio/wikicenter/blob/master/https://gitpod.io/#https://github.com/ijpatricio/wikicenter). You can create an account in under a minute, using your Git provider of choice. You don't have to give any permissions to repositories, only to read your e-mail address. The GitPod setup for this repository was made on a [Youtube Live Session](https://github.com/ijpatricio/wikicenter/blob/master/https://www.youtube.com/watch?v=Ng1WW45Zlho&list=PL2Njk5tK9lmuM5Oac06vxILXJvoYS3Qrs&index=4). The tasks in [.gitpod.yml](https://github.com/ijpatricio/wikicenter/blob/master/./.gitpod.yml) will run. ![Coding in GitPod 1](https://github.com/ijpatricio/wikicenter/blob/master/./docs/images/coding-in-gitpod-1.png) After all the 4 tasks are running, the last one keeps running `Vite`. ![Coding in GitPod 2](https://github.com/ijpatricio/wikicenter/blob/master/./docs/images/coding-in-gitpod-2.png) You can now visit the app, for the link provided on local 80. (It will be public 443 SSL) ![Coding in GitPod 3](https://github.com/ijpatricio/wikicenter/blob/master/./docs/images/coding-in-gitpod-3.png) Then run, in an available terminal, (or a new one): ```bash ./vendor/bin/sail artisan migrate:fresh --seed ``` And now you can navigate to `/admin`. The login form will be filled for you automatically, just click Login :) ![Coding in GitPod 4](https://github.com/ijpatricio/wikicenter/blob/master/./docs/images/coding-in-gitpod-4.png) ## License WikiCenter is open-sourced software licensed under the [MIT license](https://github.com/ijpatricio/wikicenter/blob/master/https://opensource.org/licenses/MIT).

近期下载者

相关文件


收藏者