{"id":19681416,"url":"https://github.com/mejia-dev/one-step-closer","last_synced_at":"2026-03-02T08:02:34.571Z","repository":{"id":232243594,"uuid":"783787071","full_name":"mejia-dev/one-step-closer","owner":"mejia-dev","description":"React Native wellbeing app, backed by Django!","archived":false,"fork":false,"pushed_at":"2024-04-15T16:49:51.000Z","size":1776,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T02:11:45.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mejia-dev.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":"2024-04-08T15:11:32.000Z","updated_at":"2024-04-17T19:40:42.000Z","dependencies_parsed_at":"2025-01-10T05:46:49.061Z","dependency_job_id":null,"html_url":"https://github.com/mejia-dev/one-step-closer","commit_stats":null,"previous_names":["mejia-dev/one-step-closer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mejia-dev%2Fone-step-closer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mejia-dev%2Fone-step-closer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mejia-dev%2Fone-step-closer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mejia-dev%2Fone-step-closer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mejia-dev","download_url":"https://codeload.github.com/mejia-dev/one-step-closer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252752693,"owners_count":21798840,"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-11T18:07:47.467Z","updated_at":"2026-03-02T08:02:24.547Z","avatar_url":"https://github.com/mejia-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# One Step Closer\n\n![preview](/client/assets/osc_preview.png)\n\n# Features:\n* Has features!\n\n## 1 - Project Setup Requirements\n\n#### Step 1: Clone Repo\n* Clone this repository by running the following command from in the Git Bash terminal:\n  ```bash\n   git clone https://github.com/mejia-dev/one-step-closer.git\n   ```\n\n#### Step 2: .env Setup\n* This project requires a file titled `.env` residing in the project directory (not the root directory).\n  * Navigate to the project directory:\n    ```bash\n    cd one-step-closer/osc_backend\n    ```\n  * Create the file:\n    ```bash\n    touch .env\n    ```\n  * Using any text editor, modify the file to include the following lines. Replace any of the values with the necessary values for the database environment being used. **Please note:** Django is unable to create a MySQL database. This must be done manually in order for Django to use it:\n    ```javascript\n    DBCONFIG_NAME = \"one-step-closer\"\n    DBCONFIG_USER = \"YOUR_USERNAME_HERE\"\n    DBCONFIG_PASSWORD = \"YOUR_PASSWORD_HERE\"\n    DBCONFIG_HOST = \"localhost\"\n    DBCONFIG_PORT = \"3306\"\n    ```\n  * Create a new secret key using:\n      ```python\n      from django.core.management.utils import get_random_secret_key\n      print(get_random_secret_key())\n      ```\n  * Save the key in `.env` as `SECRET_KEY`.\n  * In `settings.py`, change `DEBUG` to False and set `SECRET_KEY = os.getenv(\"SECRET_KEY\")`.\n\n\n\n## 3 - Run the Project\n\n* Create a virtual environment for the project. This can be named anything (though `venv` is common) and can be stored anywhere (storing it in the `one-step-closer` directory is acceptable, but make sure it is excepted in the gitignore if pushing changes to GitHub). For more information on virtual environments, refer to the [official Python documentation](https://docs.python.org/3/tutorial/venv.html). \n  ```bash\n  cd one-step-closer\n  python -m venv venv\n  ```\n\n* Activate the virtual environment in the terminal:\n\n  * Windows:\n    ```cmd\n    venv\\Scripts\\activate\n    ```\n  * Unix / MacOS:\n    ```cmd\n    source venv/bin/activate\n    ```\n\n* Install the requirements from the one-step-closer root directory:\n  ```bash\n  pip install -r requirements.txt\n  ```\n\n* Create the database:\n  ```bash\n  ./manage.py migrate\n  ```\n\n* Create a Django admin account. A prompt will appear for a username, email address, and password.\n  ```bash\n  manage.py createsuperuser\n  ```\n\n* Run the Django development server:\n  ```bash\n  ./manage.py runserver\n  ```\n\n\n## Known Bugs\n\n* none\n\nIf a bug has been discovered, please add it to the [Issues tracker](https://github.com/mejia-dev/one-step-closer/issues).\n\n\n## License\n\nMIT License\n\nCopyright (c) 2024 github.com/mejia-dev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmejia-dev%2Fone-step-closer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmejia-dev%2Fone-step-closer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmejia-dev%2Fone-step-closer/lists"}