Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matej-ch/portfolio
Portfolio page i created for myself
https://github.com/matej-ch/portfolio
hotwire-stimulus hotwire-turbo php react symfony
Last synced: 3 days ago
JSON representation
Portfolio page i created for myself
- Host: GitHub
- URL: https://github.com/matej-ch/portfolio
- Owner: Matej-ch
- Created: 2021-05-23T18:13:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T19:52:59.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T22:07:02.166Z (6 months ago)
- Topics: hotwire-stimulus, hotwire-turbo, php, react, symfony
- Language: SCSS
- Homepage:
- Size: 4.74 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Example
[Here is my working portfolio page](https://www.matejchalachan.com)
### Requirements
* at least PHP 8.1
* Apcu enabled, opcache
* Mysql 8 and higher (older version would probably still work)
* composer
* Nodejs (npm)
* server (tested on apache)
* Redis cache### Install on server
* Download project ```git clone https://github.com/Matej-ch/portfolio.git```
* Run ```composer install```
* Run ```npm install```
* Run ```npm run build```
* Create database if it doesn't exist ```php bin/console doctrine:database:create```
* Run migrations ```php bin/console doctrine:migrations:migrate```
* Create admin user to login ``php bin/console app:create-admin email username password``
* (_Optional_) Load fixtures with custom data ```php bin/console doctrine:fixtures:load```* Generate custom password_hash ```php bin/console security:hash-password```
* generate APP_SECRET ```APP_RUNTIME_ENV=prod php bin/console secrets:set APP_SECRET``` and
add ```APP_SECRET='%env(APP_SECRET)%'``` to ```.env.prod``` file on
server
* Run ```composer dump-env ``` and make sure APP_SECRET is set and not empty### Features
* List of projects with search
* Detail for project including links to source code and project
* About me page
* Admin functionality
* Connection to GitHub api for readme and other data
* Custom metadata for main page
* Project collections
* Landing page
* Contact me page
* Project image gallery
* Hire me page (on page contact)#### TODO
1. [ ] Email sending
### Commands
- First create database
```php bin/console doctrine:database:create```- Make entities you require
```php bin/console make:entity```- After entity is set up create migration file
``php bin/console make:migration``- Run migration files and create or update tables
```symfony console doctrine:migrations:migrate```- Load fixtures with default data
```symfony console doctrine:fixtures:load```- Create admin user to login
```php bin/console app:create-admin email username password```generate password for user symfony console security:hash-password
create default records in database (by default data will be purged)
default user will be admin with password tada
symfony console doctrine:fixtures:load --group=live