{"id":23044877,"url":"https://github.com/cmsrs/cmsrs","last_synced_at":"2025-04-03T01:44:10.522Z","repository":{"id":73449047,"uuid":"56940091","full_name":"cmsrs/cmsrs","owner":"cmsrs","description":"cms base on YII2 and AngularJS1","archived":false,"fork":false,"pushed_at":"2017-03-19T08:54:55.000Z","size":1521,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:12:59.720Z","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/cmsrs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-23T20:47:59.000Z","updated_at":"2023-02-04T11:27:15.000Z","dependencies_parsed_at":"2023-02-24T04:15:20.695Z","dependency_job_id":null,"html_url":"https://github.com/cmsrs/cmsrs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsrs%2Fcmsrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsrs%2Fcmsrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsrs%2Fcmsrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmsrs%2Fcmsrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmsrs","download_url":"https://codeload.github.com/cmsrs/cmsrs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922235,"owners_count":20855343,"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-12-15T21:17:02.949Z","updated_at":"2025-04-03T01:44:10.502Z","avatar_url":"https://github.com/cmsrs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"#cmsRS\n\n##Description\n===========\n\nCmsRS is a cms base on: \n* Yii2 advanced template \n* AngularJS v1 (administration panel)\n* CSS · Bootstrap (frontend and backend)\n\nThis is cutdown version of my cms.\nIt is include:\n* add pages and menu\n* add content to the page\n* upload and delete image\n* set up langs\n* log in to administration panel\n\nDb scheme:\n\n\u003cimg src=\"https://github.com/cmsrs/cmsrs/blob/master/temp/schema_cmsrs.png\" alt=\"Db scheme\" /\u003e\n\n\nThe full version available on the website:\n\nhttp://www.cmsrs.pl/en/cms/cmsrs/about-cmsrs\n\n\n##Installation\n============\n\n1. Install:\n\n\t\tgit clone https://github.com/yiisoft/yii2-app-advanced.git\n\t\tcd yii2-app-advanced\n\t\tcomposer global require \"fxp/composer-asset-plugin:^1.2.0\"\t\t\n\t\tcomposer create-project --prefer-dist yiisoft/yii2-app-advanced cmsrs\n\t\t\n\t\tcd cmsrs\n\t\tgit clone https://github.com/cmsrs/cmsrs.git\n\t\trm -rf common frontend admin; mv cmsrs/* .; rm -rf  cmsrs\n\n\n2. Set db:\n\n\tChange: `common/config/main-local.php` accordingly.\n\t\n\tCreate table to database from `temp/cmsrs4.sql` in my case:\n\t\n\t\tmysql --default-character-set=utf8 -u cmsrs -ppass123456 cmsrs \u003c ./temp/cmsrs4.sql \n\t\n\tInsert admin user name demo/demo - to administration panel:\n\t\n\n\t\tINSERT INTO `user` (`id`, `username`, `auth_key`, `password_hash`, `password_reset_token`, `email`, `status`, `created_at`, `updated_at`) VALUES\n    \t\t(1, 'demo', 'u4qnlunMrSWqcyitTV06gH5C8ZlAaWar', '$2y$13$dN9ipH0Pc2zLBsDGfIkLOuZDvG0Lv5YACMWCAUIYeCHqNKfw3VbDa', NULL, 'demo@localhost.com', 10, 1428424049, 1428424049);\n\n\n3. Set vhosts:\n\t\n\tFrontend:\n\n\t url: `cmsrs2.loc` \n\t `/path/to/yii2-app-advanced/cmsrs/frontend/web/`\n\t\n\tBackend:\n\n\t url:  `cmsrs2admin.loc` (it is a important name)\n\t `/path/to/yii2-app-advanced/cmsrs/admin/web/`\n\n\n\t\t\u003cVirtualHost *:80\u003e\n\t\t\tServerName cmsrs2.loc\n\t\t\tDocumentRoot \"/path/to/yii2-app-advanced/cmsrs/frontend/web/\"\n\t\t\t\n\t\t\t\u003cDirectory \"/path/to/yii2-app-advanced/cmsrs/frontend/web/\"\u003e\n               # use mod_rewrite for pretty URL support\n               RewriteEngine on\n               # If a directory or a file exists, use the request directly\n               RewriteCond %{REQUEST_FILENAME} !-f\n               RewriteCond %{REQUEST_FILENAME} !-d\n               # Otherwise forward the request to index.php\n               RewriteRule . index.php\n\n               # use index.php as index file\n               DirectoryIndex index.php\n\n               # ...other settings...\n\t\t\t\u003c/Directory\u003e\n       \u003c/VirtualHost\u003e\n\n\n\t\t\u003cVirtualHost *:80\u003e\n\t\t\tServerName cmsrs2admin.loc  \n\t\t\tDocumentRoot \"/path/to/yii2-app-advanced/cmsrs/admin/web/\"\n\t\t\t\n\t\t\t\u003cDirectory \"/path/to/yii2-app-advanced/cmsrs/admin/web/\"\u003e\n               # use mod_rewrite for pretty URL support\n               RewriteEngine on\n               # If a directory or a file exists, use the request directly\n               RewriteCond %{REQUEST_FILENAME} !-f\n               RewriteCond %{REQUEST_FILENAME} !-d\n               # Otherwise forward the request to index.php\n               RewriteRule . index.php\n\n               # use index.php as index file\n               DirectoryIndex index.php\n\n               # ...other settings...\n           \u003c/Directory\u003e\n       \u003c/VirtualHost\u003e\n\n4. Edit hosts:\n\n\t\t127.0.0.1 cmsrs2.loc\n\t\t127.0.0.1 cmsrs2admin.loc\n\n5. Run server side tests:\n\n\t\tcd temp/scripts_cli\n\t\t./go.sh\n\n6. Config cms:\n\n\t`common/config/params.php`\n\n\n7. Backend:\n\n\t`http://cmsrs2admin.loc/admin/#`\n\n\tCreate menu and pages\n\n\texample:\n\n\t\u003cimg src=\"https://github.com/cmsrs/cmsrs/blob/master/temp/admin_list_page2.png\" alt=\"list pages\" /\u003e\n\n\t\u003cimg src=\"https://github.com/cmsrs/cmsrs/blob/master/temp/admin_page_edit.png\" alt=\"edit page\" /\u003e\n\n\n8. Frontend:\n\n\t`http://cmsrs2.loc/`\n\n\texample:\n\n\t\u003cimg src=\"https://github.com/cmsrs/cmsrs/blob/master/temp/front_start_page.png\" alt=\"home page\" /\u003e\n\n\t\u003cimg src=\"https://github.com/cmsrs/cmsrs/blob/master/temp/front_page_example.png\" alt=\"page example\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmsrs%2Fcmsrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmsrs%2Fcmsrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmsrs%2Fcmsrs/lists"}