{"id":13559864,"url":"https://github.com/khodakhah/nodcms","last_synced_at":"2025-04-10T00:18:07.819Z","repository":{"id":30243816,"uuid":"33795022","full_name":"khodakhah/nodcms","owner":"khodakhah","description":"NodCMS-Bundle - to download - the open-source PHP CMS based on the CodeIgniter","archived":true,"fork":false,"pushed_at":"2022-12-22T20:05:03.000Z","size":27649,"stargazers_count":72,"open_issues_count":18,"forks_count":64,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-10T00:17:58.953Z","etag":null,"topics":["cms","codeigniter4","mit-license","modular-design","php"],"latest_commit_sha":null,"homepage":"https://nodcms.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khodakhah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null},"funding":{"github":["khodakhah"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-04-11T22:32:47.000Z","updated_at":"2025-04-07T14:07:40.000Z","dependencies_parsed_at":"2023-01-14T16:45:29.146Z","dependency_job_id":null,"html_url":"https://github.com/khodakhah/nodcms","commit_stats":null,"previous_names":[],"tags_count":16,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khodakhah%2Fnodcms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khodakhah%2Fnodcms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khodakhah%2Fnodcms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khodakhah%2Fnodcms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khodakhah","download_url":"https://codeload.github.com/khodakhah/nodcms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131318,"owners_count":21052820,"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":["cms","codeigniter4","mit-license","modular-design","php"],"created_at":"2024-08-01T13:00:34.549Z","updated_at":"2025-04-10T00:18:07.796Z","avatar_url":"https://github.com/khodakhah.png","language":"PHP","funding_links":["https://github.com/sponsors/khodakhah"],"categories":["CMS"],"sub_categories":[],"readme":"# [NodCMS](http://nodcms.com) \nNodCMS is a \u003cstrong\u003efree\u003c/strong\u003e, Multilingual, simple and powerful CMS based on [CodeIgniter4]((https://codeigniter.com/)).\n\nMore information can be found at [nodcms.com](http://nodcms.com/).\n\nThis repository holds a source, composer dependencies, and latest released versions of the NodCMS.\n\n## Demo\n[demo.nodcms.com](http://demo.nodcms.com/)\n\nUsername: `demo`, Password: `demo`\n\n## Download\n### git clone\nRun ```git clone https://github.com/khodakhah/nodcms.git```\n\n### Composer\n#### Create a new NodCMS project\n\nThis installation technique would suit a developer who wishes to start a new NodCMS based project.\n\n```\ncomposer create-project khodakhah/nodcms\n```\n#### Adding NodCMS to an Existing Project\n```\ncomposer require khodakhah/nodcms\n```\nCopy the `public`, `writable`, and all folders with the prefix `nodcms-` from `vendor/khodakhah/nodcms` to your project root\n\n### Traditionally\nYou can download the latest released version as a ZIP file from [nodcms-bundle](https://github.com/khodakhah/nodcms-bundle). \n\n[Download ZIP File](https://github.com/khodakhah/nodcms-bundle/archive/master.zip)\n\n## Server requirement\n\nPlease check this link https://codeigniter.com/user_guide/intro/requirements.html\n\n## Installation\n\n### Local and development\n```shell\n# Set up local environment and install all dependencies\ncomposer checkout\n\n# Run the project locally\ncomposer start\n```\n\nNow you should be able to open the [localhost:8080](http://localhost:8080) in browser.\n\n### Docker\n[Install docker compose](https://docs.docker.com/compose/install/) required!\n```shell\n# Build and run\ndocker-compose up\n\n# Build and run quietly\ndocker-compose up -d\n\n# In order to install dependencies without PHP environment checking\ncomposer install --ignore-platform-reqs\n\n# Stop running if you run the 'docker-compose -d'\ndocker-compose stop\n```\n\n\nThen open the http://localhost:8000 in the browser.\n\n\u003e Database parameters for docker:\n\u003e - HOST: `nodcmsdb`\n\u003e - PASSWORD: `nodcms`\n\u003e - DATABASE: `nodcms`\n\u003e - USER: `nodcms`\n\u003e - PASSWORD: `nodcms`\n\n## Database setup\nNodCMS database structure will be automatically generated form Models.\n\nTo build database there is two options.\n\nFor both way you need to create your table(an empty table) manually.\n\n### 1. User Interface\nNodCMS database structure can be created automatically from models throw a wizard CMS installation.\n\nYou need only open the project with a browser and follow the installation steps.\n[Learn more](https://nodcms.com/user-guide/)\n\n---\n\n### 2. Command Interface\nTo setup database and create tables via CLI, you need to run the following commands:\n```shell\n# 1. Save database connection parameters in .env file\nphp spark database:setup localhost root db-password table-name\n\n# 2. Create database tables\nphp spark database:build\n\n# 3. Create/Update an admin user with the given parameters\nphp spark settings:admin [firstname] [lastname] [email] [password]\n```\n#### Important\nIf you already have some tables in your given database, the command `database:build` will not overwrite the existed tables.\n\nTo overwrite exists tables you need to add `-overwrite` option on command.\n```shell\n# Build database overwrite exists tables\nphp spark database:build -overwrite\n```\n\n`php spark settings:admin [firstname] [lastname] [email] [password]` can be used anytime in the future. It will overwrite the admin user if it exists. \n_Just in the case that you lose your password, and you want to reset it._\n\n## Bugs Reports\nIf you find an issue, let me know [here](https://github.com/khodakhah/nodcms/issues/new)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhodakhah%2Fnodcms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhodakhah%2Fnodcms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhodakhah%2Fnodcms/lists"}