asura-tmdb/README.md

49 lines
2.3 KiB
Markdown
Raw Normal View History

2022-02-21 11:45:55 +01:00
# dcst1008-v22-gruppe1
2022-04-29 12:13:27 +02:00
# Asura Tournament Manager
![Asura](documentation/screenshots/user_manual/user_view.png)
## Usage
To make use of the Asura Tournament Manager, you need to have a running instance of the Asura Server.
The recommended way to access the application is to use our instance on <https://asura.feal.no>.
If you want run a separate instance of the server, the [installation process is described below](#installation).
2022-04-29 12:18:31 +02:00
A complete user manual describing the application features and how to use them can be found in the [User Manual](https://gitlab.stud.idi.ntnu.no/felixalb/dcst1008-2022-group1/-/wikis/user-manual).
2022-04-29 12:13:27 +02:00
### Users and Managers
Any visitor of the website is able to view current and future tournaments, but only administrators can create and edit tournaments.
2022-04-29 12:18:31 +02:00
Managers can access the menu labeled "Admins" and invite new administrators. Once you are registered, the login process is as simple as pressing "Log in" and clicking your google account.
2022-04-29 12:13:27 +02:00
## Inner workings and explanatory diagrams
The entire product and development process is described in our [wiki in the sidebar](https://gitlab.stud.idi.ntnu.no/felixalb/dcst1008-2022-group1/-/wikis).
You will find diagrams documents describing the inner workings of the application.
## Installation
The installation process is described in detail on our wiki page: [Full installation guide](https://gitlab.stud.idi.ntnu.no/felixalb/dcst1008-2022-group1/-/wikis/installation-manual)
In short, you will need
- A MySQL database server
- A suitable server computer
- A google API key
- Basic knowledge of the command line
This is not an in-depth guide, but rather a quick start reference to be used alongside the installation guide.
2022-04-29 12:18:31 +02:00
- Establish a server with [NGINX](https://www.nginx.com/)
2022-04-29 12:13:27 +02:00
- Configure domains / subdomains as needed
- Enable SSL
- Use a local proxy to allow https to an internal port of your choice (default is 3000)
- Clone this repository
- Configure environment variable files for both server and client
- `cp dotenv-template .env`
- Variable names should be self explanatory, and describe
- Database connections: URL, username, password, database name
- Application URLs
- Google API keys
- Cookie setttings
- Install dependencies for both server and client
- `npm install`
- Build the client
- `npm run build`
- Start the server
- `npm start`