GithubHelp home page GithubHelp logo

socialneo's Introduction

Social NEO

Starting a new Django project can be a pain. Gotta get static files working, gotta get stuff ready for test deploys.

Setup

  1. Set a new SECRET_KEY in project/settings.py (TODO: Create a new manage.py command to automate this)
  2. Edit the Database settings in .env to best suit your needs

Create a .env file that will contain your settings and credentials like this:

DEPLOY='LOCAL'
PORT='8000'
DEBUG='True'
DB_ENGINE='django.db.backends.sqlite3'
DB_NAME='project_dev.sqlite'
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''
FB_APP_ID='XXX'
FB_APP_SECRET='XXXX'
FB_NAMESPACE='XXX'
AWS_ACCESS_KEY_ID='XXX'
AWS_SECRET_ACCESS_KEY='XXX'
AWS_STORAGE_BUCKET_NAME='XXX'

Running

This project comes bundled with a simple Procfile and .env so it plays nice with tools like Foreman or honcho out of the box. This also makes deploying to a service like Heroku super simple.

  1. To start your local webserver you can:
foreman start

or

honcho start

socialneo's People

Contributors

alextucker avatar

Watchers

James Cloos avatar Jeremy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.