GithubHelp home page GithubHelp logo

janice-m / firenation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 30.86 MB

Fire Village is a Django Web application that allows the Fire Signs of the zodiac to Keep up to date with what is happening in the fire nation.

Home Page: https://firenation.herokuapp.com/

Shell 0.05% PowerShell 0.02% Python 93.98% HTML 3.27% CSS 1.18% JavaScript 1.51%
django heroku python3 heroku-deployment webapp

firenation's Introduction

fireNation

Fire Nation is a community app for members of the fire signs of the zodiac made using Python's Django Framework.

screenshot

Getting Started/Setup

  • git clone https://github.com/Janice-M/fireNation.git
Create a virtuual
  • Creating Virtualenv - unlimited virtual
  • sudo apt-get install python3-pip
  • pip3 install virtualenv
  • virtualenv venv (you can call it venv or anything you like)
  • source venv/bin/activate

Let virtual remain activated and then in virtual :

Install django

  • run pip install django==2.0.7
  • Then run shell by using python3.6
  • import django in shell
  • Then in virtual in terminal create your django app django-admin startproject newdjango

Install dependencies

pip3 install -r requirements

Environment requirements

  • SECRET_KEY= added by default
  • DEBUG= set to false in production
  • DB_USER= database user of choice
  • DB_PASSWORD= database of choice
  • DB_HOST="127.0.0.1" on local
  • MODE= dev or prod , set to prod during production
  • ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'

Running the tests

Run tests by running the following :

(venv)$ python3.6 manage.py test photos

Break down into end to end tests

The tests will test the following features in the system :

  • Image Model
  • Comments Model
  • Profiles Model

And coding style tests

The app does not need coding style tests according to its current scope

Database Migration

Migrate using:

python manage.py migrate

Running The Server on Your Local Host

python manage.py runserver

Built With

  • Django - Python Framework
  • Vanilla Javascript
  • HTML5
  • Bootstrap 3

Deployment

Please read Deploy to Heroku :) for details on our deployment of this app

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

firenation's People

Contributors

janice-m avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.