Advertisement
Guest User

Untitled

a guest
Feb 26th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. # Installation
  2.  
  3. > This page is a straightforward how to install bitaac, more in depth tutorials using nginx etc are still work in progress.
  4.  
  5. ### Prerequisites
  6.  
  7. * [Composer](https://getcomposer.org/)
  8. * Database with a TFS 1.0+ schema imported.
  9. * [Laravel server requirements](https://laravel.com/docs/5.6#installation):
  10. * PHP >= 7.1.3
  11. * OpenSSL PHP Extension
  12. * PDO PHP Extension
  13. * Mbstring PHP Extension
  14. * Tokenizer PHP Extension
  15. * XML PHP Extension
  16. * Ctype PHP Extension
  17. * JSON PHP Extension
  18.  
  19. ### Install bitaac using composer
  20.  
  21. First, install bitaac using composer:
  22. ```php
  23. composer create-project bitaac/bitaac --prefer-dist
  24. ```
  25.  
  26. Once the install have completed, navigate into the fresh application folder:
  27. ```php
  28. cd bitaac
  29. ```
  30.  
  31. > Sometimes composer fails to copy .env.example to .env, so if you dont find the .env file just manually copy the .env.example to .env.
  32.  
  33. Now you will have to set your database credentials inside the .env file:
  34. ```env
  35. DB_DATABASE=homestead
  36. DB_USERNAME=homestead
  37. DB_PASSWORD=secret
  38. ```
  39.  
  40.  
  41. ### Publish assets & configs
  42.  
  43. ```php
  44. php artisan vendor:publish --tag=bitaac:assets &&
  45. php artisan vendor:publish --tag=bitaac:admin:assets &&
  46. php artisan vendor:publish --tag=bitaac:config
  47. ```
  48.  
  49. ### Database migrations & seeds
  50.  
  51. ```php
  52. php artisan migrate --seed
  53. ```
  54.  
  55. ### Encryption key
  56.  
  57. Composer should set the encryption key automatically, but sometimes it fails to do so. If you experience the `No application encryption key has been specified.` error you can generate & set a new encryption key:
  58.  
  59. ```php
  60. php artisan key:generate
  61. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement