{"id":20002834,"url":"https://github.com/codewithmide/wagtailsite","last_synced_at":"2025-03-02T00:21:54.276Z","repository":{"id":198707307,"uuid":"701319275","full_name":"codewithmide/WagtailSite","owner":"codewithmide","description":"My first wagtail website. ","archived":false,"fork":false,"pushed_at":"2023-10-06T14:05:23.000Z","size":1110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T13:23:38.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/codewithmide.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}},"created_at":"2023-10-06T11:48:26.000Z","updated_at":"2023-10-06T13:16:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd0c83c4-372b-4231-a98f-f0c4343df218","html_url":"https://github.com/codewithmide/WagtailSite","commit_stats":null,"previous_names":["codewithmide/wagtailsite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2FWagtailSite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2FWagtailSite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2FWagtailSite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2FWagtailSite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmide","download_url":"https://codeload.github.com/codewithmide/WagtailSite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241441053,"owners_count":19963344,"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-11-13T05:23:15.515Z","updated_at":"2025-03-02T00:21:54.241Z","avatar_url":"https://github.com/codewithmide.png","language":"Python","readme":"# My First Wagtail Site\n\nWelcome to \"My First Wagtail Site,\" a simple Wagtail-powered website that I created by following the tutorial [Your first Wagtail site](https://docs.wagtail.org/en/stable/getting_started/tutorial.html). This README will guide you through the prerequisites, provide an overview of the affected parts of the code, and explain how to run the site locally.\n\n## Prerequisites\n\nBefore you can run this Wagtail site locally, make sure you have the following prerequisites installed:\n\n- **Python**: This project is built using Python, so you'll need to have `Python 3.x` installed on your system. You can download it from the official [Python website](https://www.python.org/downloads/).\n- **Virtual Environment (Optional, but recommended)**: It's a good practice to create a virtual environment for Python projects. You can use `virtualenv` or `venv` to create one. Install `virtualenv` using `pip`:\n\n```bash\npip install virtualenv\n```\n\n- **Git (Optional)**: If you plan to clone this project from a Git repository, you'll need Git installed on your system. You can download it from [Git's official website](https://git-scm.com/downloads).\n\n## Affected Parts of the Code\n\nHere's a summary of the important parts of the code that you'll find in this project:\n\n|File/Folder | Description|\n|:--|:--|\n|codewithmideWagtailSite/ |This folder contains the core Django and Wagtail project settings.|\n|home/ |This is the Django app for the main homepage and its templates.|\n|blog/ |This app handles the blog section of the website.|\n|requirements.txt |Lists all the Python packages required for this project.|\n\n## How to Run It Locally\n\nFollow these steps to run \"My First Wagtail Site\" on your local machine:\n\n1. **Clone the Repository (If Not Already Done)**: If you haven't already cloned this project's Git repository, you can do so with the following command:\n\n```bash\ngit clone https://github.com/codewithmide/WagtailSite\n```\n\n2. **Navigate to the Project Folder:**\n\n```bash\ncd myfirstwagtailsite\n```\n\n3. **Create a Virtual Environment (Optional)**: It's recommended to create a virtual environment for this project. If you choose to create one, use the following commands:\n\n```bash\npython -m venv mysite/env\n# Then:\nsource mysite/env/bin/activate\n```\n\nOn Windows, use:\n\n```bash\npy -m venv mysite\\env\n\n# then\n\nmysite\\env\\Scripts\\activate.bat\n\n# If mysite\\env\\Scripts\\activate.bat doesn't work, run:\n\nmysite\\env\\Scripts\\activate\n```\n\n4. **Install Dependencies**:\n\n```bash\npip install -r requirements.txt\n```\n\n5. **Apply Migrations**:\n\n```bash\npython manage.py migrate\n```\n\n6. **Create a Superuser**: This prompts you to create a new admin user account with full permissions. It’s important to note that for security reasons, the password text won’t be visible while typing.\n\n```bash\npython manage.py createsuperuser\n```\n\n7. **Run the Development Server**:\n\n```bash\npython manage.py runserver\n```\n\nThe development server will start, and you can access the site at `http://localhost:8000/`.\n8. **Access the Wagtail Admin Interface**: To access the Wagtail admin interface and start managing your site's content, go to `http://localhost:8000/admin/` and log in with the superuser credentials you created earlier.\n\nThat's it! You now have \"My First Wagtail Site\" up and running on your local machine. Feel free to explore the code, customize the templates, and add your own content to make it your own.\n\nEnjoy building with [Wagtail](https://wagtail.org/)!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmide%2Fwagtailsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmide%2Fwagtailsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmide%2Fwagtailsite/lists"}