diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..352afb93 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +BSD 2-Clause License + +Copyright (c) 2017, Baby Buddy's Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 00000000..f4b09d1f --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# Baby Buddy + +A buddy for babies to help caregivers to track sleep, feedings, diaper changes, +and tummy time! + +## Installation (development) + +``` +git clone https://github.com/cdubz/babybuddy.git +cd babybuddy +pip install pipenv +pipenv install --dev +pipenv shell +export DJANGO_SETTINGS_MODULE=babybuddy.settings.development +python manage.py migrate +python manage.py createsuperuser +npm install +gulp build +python manage.py collectstatic +python manage.py runserver +``` + +## Development + +### Fake data + +From within the pipenv shell, execute: + +``` +python manage.py fake +``` \ No newline at end of file diff --git a/babybuddy/settings/development.py b/babybuddy/settings/development.py index 0d4f23df..6b183da2 100644 --- a/babybuddy/settings/development.py +++ b/babybuddy/settings/development.py @@ -3,7 +3,7 @@ from .base import * # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ -SECRET_KEY = '(z4ha%^_=7#jco0wmna_#0jvyyt!03#f7l_y%@1x(a2xj$nrx%' +SECRET_KEY = 'CHANGE ME' DEBUG = True INTERNAL_IPS = (