-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #386 from 2zqa/add-getting-started
Add docs/Getting started.md
- Loading branch information
Showing
2 changed files
with
50 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Getting started | ||
|
||
Welcome to the project! This guide will help you set up your development environment and get the project running. | ||
|
||
1. **Clone the repository** | ||
|
||
```sh | ||
git clone https://github.com/MaxKorlaar/hypixel-signatures.git | ||
cd hypixel-signatures | ||
``` | ||
|
||
## Using dev containers | ||
|
||
1. **Open the project in a dev container** | ||
|
||
- [Instructions for PhpStorm](https://www.jetbrains.com/help/phpstorm/connect-to-devcontainer.html) | ||
- Instructions for VS Code: open the project in VS Code Press `F1` and select `Dev Containers: Open Folder in Container` (Source: [Quick start: Open an existing folder in a container](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-an-existing-folder-in-a-container)) | ||
|
||
## Locally | ||
|
||
`// TODO` | ||
|
||
## Running | ||
|
||
1. **Run a bunch of one-time commands** | ||
|
||
Note that if you're using pnpm, execute `pnpm install --shamefully-hoist` instead of `pnpm install`. | ||
|
||
```sh | ||
cp .env.example .env | ||
pnpm install --shamefully-hoist | ||
pnpm run development | ||
php artisan key:generate | ||
``` | ||
|
||
2. **Start the development server** | ||
|
||
You can start the development server using the following command: | ||
|
||
```sh | ||
php artisan serve | ||
``` | ||
|
||
3. **Open the website** | ||
|
||
Open your browser and navigate to http://localhost:8000. |