Giter Club home page Giter Club logo

Travis Waffle.io - Columns and their card count

Code Sponsor

Code Sponsor provides funding for open source projects through ethical advertising.

Partnership

Code Sponsor is a proud partner of Gitcoin. Gitcoin pushes Open Source Forward. Learn more at https://gitcoin.co

Running Locally

With Docker

git clone https://github.com/codesponsor/codesponsor.git
cd codesponsor
cp code_sponsor/.env-sample code_sponsor/.env
docker-compose up -d

Navigate to http://0.0.0.0:8000/.

Without Docker

git clone https://github.com/codesponsor/codesponsor.git
cd codesponsor
cp code_sponsor/.env-sample code_sponsor/.env

You will need to edit the code_sponsor/.env file with your local environment settings.

Setup Database

PostgreSQL is the database used by this application. Here are some instructions for installing PostgreSQL on various operating systems.

OSX

Windows

Ubuntu

Once you have Postgres installed and running on your system, enter into a Postgres session.

psql

Create the database and a new privileged user.

CREATE DATABASE codesponsor_development;
CREATE USER codesponsor_user WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE codesponsor_development TO codesponsor_user;

Exit Postgres session

\q

Update the code_sponsor/.env file with the DATABASE ENV:

DATABASE_URL=psql://codesponsor_user:[email protected]:5432/codesponsor_development

Startup server

pipenv install
pipenv run python manage.py migrate
pipenv run python manage.py createcachetable
pipenv run python manage.py runserver 0.0.0.0:8000

Navigate to http://localhost:8000/

Deploying to Heroku

Ensure you add the buildpacks:

$ heroku buildpacks:add --index 1 heroku/nodejs
$ heroku buildpacks:add --index 2 heroku/python

Deploy to Heroku

$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate
$ heroku open

Legal

Copyright (C) 2018 Code Sponsor

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

License

GNU AFFERO GENERAL PUBLIC LICENSE

Code Sponsor's Projects

dev icon dev

WIKI for Code Sponsor development program

discourse-adplugin icon discourse-adplugin

Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum

ga-beacon icon ga-beacon

Google Analytics collector-as-a-service (using GA measurement protocol).

redux-form icon redux-form

A Higher Order Component using react-redux to keep form state in a Redux store

shields icon shields

Shields badge specification, website and default API server

sponsor icon sponsor

WIKI for Code Sponsor sponsorship program

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.