Skip to content
Snippets Groups Projects
Commit d4ce863f authored by Jessinra's avatar Jessinra
Browse files

init commit, modify readme for better instalation

parent dca7b84b
Branches
No related merge requests found
# Tesis Management Application # Tesis Management Application
## By Kelompok II-7 ## By Kelompok II-7
### Modified by : Kelompok I-04
### Technical Documentation ### Technical Documentation
<a href="TechnicalDocumentation.pdf">Technical Documentation</a> <a href="TechnicalDocumentation.pdf">Technical Documentation</a>
### System Requirement ### System Requirement
- Linux Ubuntu 16.04 or greater - Linux **Ubuntu** 16.04 or greater (recomended ubuntu)
- MySQL 8.0 or greater - MySQL 8.0 or greater
- Apache2 httpd / NGINX - Apache2 httpd / NGINX
- PHP 7.1 or greater - PHP 7.1 or greater
### Installation Guide ### Installation Guide
1. Create new Database with name `tesisapp` or other 1. Create new Database with name `tesisapp` or other
2. Create new MySQL user 2. Create new MySQL user (e.g. `tesisroot@localhost`)<br />
Grant access to the user `grant all on tesisapp.* to tesisroot@localhost`
3. Run `cp .env.example .env` 3. Run `cp .env.example .env`
4. Set your `.env`: 4. Set your `.env`:
- `APP_NAME` with Application Name - `APP_NAME` with Application Name
...@@ -27,11 +28,38 @@ ...@@ -27,11 +28,38 @@
5. Run `composer install` 5. Run `composer install`
6. Run `php artisan key:generate` 6. Run `php artisan key:generate`
7. Run `php artisan config:cache` 7. Run `php artisan config:cache`
9. Run `php artisan migrate` 8. Run `php artisan migrate`
10. Run `npm run production` 9. Run `sudo npm run production`<br/>
11. Please make sure that your web server already configured to `public/` folder
10. Please make sure that your web server already configured to `public/` folder<br/>
Can be done by changing apache's documentRoot to `home/<path>/<to>/<project>/public/`
11. To start server, run `php artisan serve`
## Error FAQ
note: There might be ( **hopefully not** ) a lot of error you need to handle
1. **Download & installing node**:<br/>
>If you need higher node and npm
Solution : [Manually specify & download node version](https://websiteforstudents.com/install-the-latest-node-js-and-nmp-packages-on-ubuntu-16-04-18-04-lts/)
2. **Step 9**:<br/>
>If npm install got stuck while downloading
Try to check your connection, try different connection, check proxy setting. Some modules have sensitive issue to proxy.
>If theres some warning saying some dependencies is missing (even is warning only), try to install dependencies yourself<br/>
i.e. error containing `requires a peer of <module>@^<version> but none is installed`<br/>
Try to `sudo npm install <module>@<version>` untill all warning gone (keep it at bare minimum)<br/>
>`error in ./resource/assets/sass/app.scss`
Solution : run `sudo npm install --save-dev --unsafe-perm node-sass`
### Developers: ### Ex-Developers:
1. Kanisius Kenneth Halim (13515008) 1. Kanisius Kenneth Halim (13515008)
2. Radiyya Dwisaputra (13515023) 2. Radiyya Dwisaputra (13515023)
3. Muthmainnah (13515059) 3. Muthmainnah (13515059)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -12,16 +12,20 @@ ...@@ -12,16 +12,20 @@
"devDependencies": { "devDependencies": {
"axios": "^0.18", "axios": "^0.18",
"bootstrap": "^4.0.0", "bootstrap": "^4.0.0",
"cross-env": "^5.1", "cross-env": "^5.2.0",
"jquery": "^3.2", "jquery": "^3.2",
"laravel-mix": "^2.0", "laravel-mix": "^2.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"node-sass": "^4.11.0",
"popper.js": "^1.12", "popper.js": "^1.12",
"vue": "^2.5.7" "vue": "^2.5.7"
}, },
"dependencies": { "dependencies": {
"ajv": "^6.7.0",
"bootstrap-material-datetimepicker": "^2.7.3", "bootstrap-material-datetimepicker": "^2.7.3",
"bootstrap-material-design": "^4.1.1", "bootstrap-material-design": "^4.1.1",
"material-design-icons": "^3.0.1" "material-design-icons": "^3.0.1",
"rxjs": "^5.0.1",
"zone.js": "^0.7.2"
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment