Git Product home page Git Product logo

twig's Introduction

logo

Table of content

Description

Twig - social network for bloggers or just people, where you can create an account, make posts, upload photos, describe your life moments etc.

Technologies

  • Python 3.9
  • Django 2.2
  • Django REST framework 3.12.4
  • Mixer 7.1.2
  • Pillow 9.0.1
  • Requests 2.26.0
  • Sorl-thumbnail 12.7.0
  • Pillow 9.0.1
  • Docker
  • Github Actions

Running a project in dev-mode

  • Clone the repository and go to it on the command line:
git clone [email protected]:fabilya/twig.git
cd twig
  • Create a virtual environment:
python -m venv venv
  • Activate virtual environment
Linux/macOS
source venv/bin/activate
Windows
source venv/scripts/activate
  • Install dependencies from file requirements.txt:
python -m pip install --upgrade pip
pip install -r requirements.txt
  • Apply migrations:
python twig/manage.py makemigrations
python twig/manage.py migrate
  • Create a superuser:

python twig/manage.py createsuperuser

  • In the folder with the project, where the settings.py file is, add the .env file where we register our parameters:
SECRET_KEY='<YOUR_SECRET_KEY>'
ALLOWED_HOSTS='127.0.0.1, localhost'
DEBUG=True
  • Start the project:

  • python twig/manage.py runserver localhost:80

Authors:

Ilya Fabiyanskiy

twig's People

Contributors

fabilya avatar dependabot[bot] avatar

Stargazers

Konstantin Steblev avatar Alex Ten avatar

Watchers

 avatar

twig's Issues

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.