-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add reverse proxy setup and setup instructions
- Loading branch information
Showing
3 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,45 @@ | ||
# Time-tracking project | ||
|
||
## Setup the Project | ||
|
||
System Requirements: | ||
* Docker | ||
* PHP 8.2 | ||
* Composer | ||
|
||
```bash | ||
composer install | ||
|
||
cp .env.example .env | ||
|
||
./vendor/bin/sail up -d | ||
|
||
./vendor/bin/sail artisan key:generate | ||
|
||
./vendor/bin/sail artisan migrate:fresh --seed | ||
|
||
./vendor/bin/sail npm install | ||
|
||
./vendor/bin/sail npm run build | ||
|
||
``` | ||
|
||
Make sure to set the APP_PORT and VITE_PORT inside your `.env` file to a port that is not already used by your system. | ||
|
||
## Setup with Reverse Proxy | ||
|
||
Additional System Requirements: | ||
* Traefik 2 Reverse-Proxy (https://github.com/korridor/reverse-proxy-docker-traefik) | ||
|
||
Add the following entry to your `/etc/hosts` | ||
|
||
``` | ||
127.0.0.1 time-tracking.local | ||
``` | ||
|
||
## Contributing | ||
|
||
This project is in a very early stage. The structure and APIs are still subject to change and not stable. | ||
Therefore we do not currently accept any contributions, unless you are a member of the team. | ||
|
||
As soon as we feel comfortable enough that the application structure is stable enough, we will open up the project for contributions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters