Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ranolangari/spk-copras

Sistem Pendukung Keputusan Menggunakan Metode Copras
https://github.com/ranolangari/spk-copras

laravel spk-berbasis-web

Last synced: 1 day ago
JSON representation

Sistem Pendukung Keputusan Menggunakan Metode Copras

Awesome Lists containing this project

README

        

Laravel Logo


Build Status
Total Downloads
Latest Stable Version
License

# COPRASS-APP Project

This project is an application for conducting assessments based on the Decision Support System using the COPRAS method. This application is built using the Laravel framework.

## How to Clone the Project

To clone this project, follow the steps below:

1. Open a terminal or command prompt.

2. Navigate to the directory where you want to save the project.

3. Run the following command to clone the repository:
```
git clone https://github.com/RanoLangari/SPK-COPRAS.git
```

4. After the cloning process is complete, navigate to the project directory:
```
cd coprass-app
```

## How to Run the Project

Follow the steps below to run the project:

1. Copy the `.env.example` file to `.env` and adjust the database and application configuration according to your needs:
```
cp .env.example .env
```

2. Install all required dependencies using npm:
```
npm install
```

3. Install all required dependencies using composer:
```
composer install
```

4. Generate the application key:
```
php artisan key:generate
```

5. Run migrations to create the database structure:
```
php artisan migrate
```

6. (Optional) Run the seeder to populate the database with initial data:
```
php artisan db:seed
```

7. Run Vite using the command:
```
npm run dev
```

8. Run the Laravel development server using the command:
```
php artisan serve
```

9. Open your browser and access the application through the URL provided by the development server (usually http://localhost:8000).

10. If you are using Laragon as your development environment, you can follow these steps:

a. Ensure Laragon is installed and all services (Apache/Nginx, MySQL, PHP) are running.

b. Clone your project repository into the `www` directory of Laragon using the command `git clone https://github.com/RanoLangari/SPK-COPRAS.git`.

c. Open Laragon, right-click, select `Terminal`, and run the command `composer install` to install all necessary PHP dependencies and `npm install` to install all necessary JavaScript dependencies.

d. Copy the `.env.example` file to `.env` and adjust the database and application configuration according to your needs. Be sure to set `DB_CONNECTION`, `DB_HOST`, `DB_PORT`, `DB_DATABASE`, `DB_USERNAME`, and `DB_PASSWORD` according to the MySQL settings in Laragon.

e. Open Laragon, right-click, and select `Start All` to start the MySQL service.

f. Run the command `php artisan key:generate` to generate the application key.

g. Run the command `php artisan migrate` to execute migrations and create the database structure.

h. (Optional) Run the command `php artisan db:seed` to populate the database with initial data.

i. Run the command `npm run dev` to compile JavaScript and CSS assets.

j. Access the project through the browser with the URL provided by Laragon (usually http://your-project-name.test).