Code Monkey home page Code Monkey logo

movielist-back's Introduction

movielist

LICENSE Requirements

This is a trial project at which you can list your favorite movies watched or not watched and or etc.

این یک پروژه‌ی شخصی است که در آن می‌توانید از فیلم‌های مورد علاقه‌تان، فیلم‌هایی که دیده‌اید، فیلم‌هایی که می‌خواهید ببینید و... لیست تهیه کنید. در این پروژه از تکنولوژی‌های زیر استفاده می‌شود:
  • پایتون
  • جنگو
  • مای اسکوئل

How to run

  1. Install python3, pip3, virtualenv, MySQL in your system.
  2. Clone the project git clone https://github.com/amirdashtii/movielist-back && cd movielist-back
  3. In the movielist folder, rename the config.py.sample to config.py and do proper changes.
  4. db configs are in config.py. Create the db and grant all access to the specified user with specified password.
  5. Create a virtualenv named venv using virtualenv -p python3 venv
  6. Connect to virtualenv using source venv/bin/activate
  7. From the project folder, install packages using pip install -r requirements.txt
  8. Now environment is ready. Run it by python manage.py makemigrations
  9. Continue with python manage.py migrate
  10. Lastly python manage.py runserver

Example for creating db and granting access:

Note: this is just a sample. You have to find your own system's commands.

CREATE DATABASE movielist;
USE movielist;
CREATE USER 'movielist'@'localhost' IDENTIFIED BY 'test' PASSWORD NEVER EXPIRE;
GRANT ALL PRIVILEGES ON movielist.* TO 'movielist'@'localhost';

movielist-back's People

Contributors

amirdashtii avatar

Stargazers

Ardeshir 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.