{"id":13616537,"url":"https://github.com/1stel/stratostack-portal","last_synced_at":"2025-04-14T00:32:27.691Z","repository":{"id":56938088,"uuid":"59689427","full_name":"1stel/stratostack-portal","owner":"1stel","description":"StratoSTACK Billing Portal","archived":true,"fork":false,"pushed_at":"2017-02-27T02:36:56.000Z","size":818,"stargazers_count":16,"open_issues_count":5,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-22T13:27:32.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1stel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-25T18:51:46.000Z","updated_at":"2023-08-01T14:32:10.000Z","dependencies_parsed_at":"2022-08-21T01:00:11.524Z","dependency_job_id":null,"html_url":"https://github.com/1stel/stratostack-portal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1stel%2Fstratostack-portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1stel%2Fstratostack-portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1stel%2Fstratostack-portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1stel%2Fstratostack-portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1stel","download_url":"https://codeload.github.com/1stel/stratostack-portal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223612166,"owners_count":17173588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T20:01:29.917Z","updated_at":"2024-11-08T00:32:02.672Z","avatar_url":"https://github.com/1stel.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"## StratoSTACK Billing Portal\n\n### Pre-requisites\n\n**Packages:**  \nApache2  \nMySQL 5.5+  \nPHP-5.5.9+  \nRedis-server\n\n**Other:**  \nStratoSTACK Bill Records Generation Server  \nPowerDNS Server  \nTaxCloud Account  \nAuthorize.Net Account\n\n### Installation\n\nStratoSTACK uses Composer for dependency management.  See its [Download Guide](https://getcomposer.org/download/) for installation instructions.\n\n#### Ubuntu\n\n**Ubuntu 16.04 Package Dependencies**\n\n\t# sudo apt install apache2 php mysql-server php-mysql php-mcrypt php-mbstring libapache2-mod-php php-bcmath php-xml\n\n**Ubuntu 14.04 Package Dependencies**\n\n\t# sudo apt-get install apache2 php5 mysql-server-5.5 php5-mysql redis-server php5-mcrypt\n\nMove to the html directory:\n\n\t# cd /var/www/html\n\n**Install StratoSTACK Billing Portal**\n\n\t# composer create-project --prefer-dist 1stel/stratostack-portal portal\n\n**Add a MySQL-compatible database named cloud_billing for portal's usage**\n\n\t# mysqladmin -u\u003cyour user\u003e -p create cloud_billing\n\n**Edit configuration files**\n\nEdit .env, adding database access configuration.\n\n\tDB_HOST=localhost\n\tDB_DATABASE=cloud_billing\n\tDB_USERNAME=homestead\n\tDB_PASSWORD=secret\n\nEdit config/cloud.php.  Add management server, API credentials and the Bill Records Generation API key.\n\nEdit config/taxcloud.php, config/authorizenet.php and config/powerdns.php, entering the values for your TaxCloud, Authorize.Net accounts and PowerDNS server credentials.\n\n**Populate the database**\n\nIn /var/www/html/portal, run these commands\n\n\t# php artisan migrate: install\n\t# php artisan migrate --seed\n\n**Update Apache Configuration**\n\nEdit /etc/apache2/sites-enabled/000-default.conf\n\nChange DocumentRoot to /var/www/html/portal/public\n\nAdd the following under DocumentRoot:\n\n\t\u003cDirectory /var/www/html\u003e\n\t\tOptions FollowSymLinks\n\t\tAllowOverride All\n\t\u003c/Directory\u003e\n\nEnable mod_rewrite:\n\n\t# a2enmod rewrite\n\nRestart Apache:\n\n\t# service apache2 restart\n\nSet permissions on the Portal\n\n\t# chown www-data.www-data /var/www/html/portal -R\n\n**Add Laravel's event scheduler to cron**\n\nAdd the following to your crontab:\n\n\t* * * * * root php /var/www/html/portal/artisan schedule:run \u003e\u003e /dev/null 2\u003e\u00261\n\n**Run the queue processor upon startup**\n\nAdd the following to /etc/rc.local:\n\n\tphp /var/www/html/portal/artisan queue:listen --sleep=5 --tries=3 \u0026\n\n### Customization\n\nSee customize.md for more information on customizing the StratoSTACK installation for your needs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1stel%2Fstratostack-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1stel%2Fstratostack-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1stel%2Fstratostack-portal/lists"}