https://github.com/delaford/website
Manage and see player profile data.
https://github.com/delaford/website
game-development javascript php rpg
Last synced: over 1 year ago
JSON representation
Manage and see player profile data.
- Host: GitHub
- URL: https://github.com/delaford/website
- Owner: delaford
- License: mit
- Created: 2018-01-28T02:33:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T10:29:26.000Z (over 3 years ago)
- Last Synced: 2023-02-28T07:26:07.460Z (over 3 years ago)
- Topics: game-development, javascript, php, rpg
- Language: PHP
- Homepage: https://delaford.com/
- Size: 3.33 MB
- Stars: 5
- Watchers: 1
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Delaford website
[](https://travis-ci.org/Delaford/website)
Register your player here to start your adventure.
[](https://greenkeeper.io/)
---
First, create your `MySQL` database. Easy peasy. Call it `delaford`, I guess. Then fork this repo.
Secondly, in your terminal, make a new directory called `delaford` and type the following:
git clone https://github.com/YOUR_USERNAME/website
cp .env.example .env
Then, let's edit the `.env` file we just created from our last command (`cp`) and put in the database credentials.
Now, let's make the website. In your terminal, at `/delaford/website/`, type:
composer install
php artisan jwt:secret
php artisan key:generate
php artisan migrate
php artisan config:cache
yarn install
npm run dev
Your website's CSS should now be compiled and your database's tables should now be created. Also, your secret JWT authentication key was created along with the Laravel application key.
Time to make your player! Let's serve up the website:
$ php artisan serve
Now go to `https://localhost:8000` and register your player account. You are all set!
### Caution
This is NOT needed to run the game locally. When Delaford runs locally, it creates a local player.