Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tikrack committed Sep 9, 2024
2 parents 79b9acb + 76e772f commit cec6425
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
File renamed without changes.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [push]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Run and deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd ${{ secrets.SERVER_PATH }}
git fetch --all
git pull
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.env
./vendor
vendor
./.idea
Expand All @@ -6,4 +7,4 @@ vendor
node_modules
cache
./cache
.env
.env
14 changes: 8 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,39 @@

**API:** https://api.salamlang.ir/

-✅ Install composer package
## Getting started

✅ Install composer package

```shell
composer i
```

-✅ Generating autoload files
✅ Generating autoload files

```shell
composer dump-autoload
```

-✅ Run the following command to run the project
✅ Run the following command to run the project

```shell
php artisan serve
```

-✅ To set the port yourself, use the following code
✅ To set the port yourself, use the following code

```shell
php artisan serve --port=8090
```

-✅ You can also run the pint package to clean the code
✅ You can also run the pint package to clean the code

```shell
./vendor/bin/pint
```

-✅ We have seeder! you can run seeders with this command
✅ We have seeder! you can run seeders with this command

```shell
php artisan db:seed
Expand Down

0 comments on commit cec6425

Please sign in to comment.