Code Monkey home page Code Monkey logo

newspaper-agency-1's Introduction

NEWSPAPER AGENCY

is a project designed to help a team of redactors to organize their work on creating articles for different newspapers. Redactors are able to register on the site and have their own personal profile page, which is only accessible to authenticated users of the site. This personal page allows redactors to showcase their work and provide background information about themselves.

Redactors have exclusive access to create, update, and delete their own articles. However, all users of the site, including non-registered users, are able to read the articles.

The website includes a variety of topics for articles, which are listed on a separate page for easy navigation. By clicking on a single topic, all relevant articles associated with that topic will be displayed.

Running project locally

To run this projects locally, use the following steps:

  1. Clone repo from GIT:

git clone [email protected]:natalie-goriela/to-do-list.git

  1. If you are using PyCharm - it may propose you to automatically create venv for your project and install requirements in it, but if not:
python -m venv venv
venv\Scripts\activate (on Windows)
source venv/bin/activate (on macOS)
pip install -r requirements.txt
  1. Run the migrations:

python manage.py migrate

  1. Use the following command to load prepared data from fixture:

python manage.py loaddata newspaper_agency_db_data.json

Upon loading data from fixture you can use following superuser (or create another one by yourself):

  • Login: admin.admin
  • Password: 1qazcde3

Feel free to add more data using admin panel, if needed.

Environment variables

The secret key to this project is saved within .env file, which is hidden. You can create your own .env file to store your SECRET_KEY, DB_NAME and other environment variables like it is shown in .env_sample file.

Deploy

Newspaper Agent deployed on Render

newspaper-agency-1's People

Contributors

natalie-goriela 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.