Advertisement
Guest User

Untitled

a guest
Feb 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. # Installation
  2.  
  3. > This page is a straight forward "How to install bitaac" guide. A more indepth guide is still 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. ### Installing bitaac using composer
  20.  
  21. First, install bitaac using composer:
  22. ```php
  23. composer create-project bitaac/bitaac --prefer-dist
  24. ```
  25.  
  26. Once bitaac is installed, navigate to the bitaac application folder:
  27. ```php
  28. cd bitaac
  29. ```
  30.  
  31. > Sometimes composer fails to copy the ".env" file, If this happens simply rename the existing ".env.exmaple" file 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