malikalbeik / go2people

go2people website Amsterdam internship assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go²people websites challenge

Assignment for Django developer internship


Getting Started

This project requires Python3 and Django to build, if they are not installed on your device, you should install them first.

Install dependencies

pip install -r requirements.txt

Initial server setup

If you have done the setup before; skip to Starting the local server

1. Create Django Database

./manage.py makemigrations shop
./manage.py migrate

2. Create test user

./manage.py createsuperuser

Then follow the instructions on your command line terminal to create a superuser account.

3. Load dummy data into the database

./manage.py loaddata dummyData.json

Starting the local server

1. Running the server

./manage.py runserver

2. Running tests

./manage.py test

Accessing the website

The website can be accessed by visiting the URL localhost:8000

Admin dashboard

Server admin dashboard can be accessed by visiting the URL localhost:8000/admin


Project structure

├── go2people           :global project
│   ├── settings.py     :global settings
│   └── urls.py         :global urls
├── manage.py           :Django's CLI utility
├── media               :media storage location
├── shop                :shop app
│   ├── apps.py         :app config
│   ├── admin.py        :app admin config
│   ├── models.py       :models
│   ├── tests.py        :unit tests
│   ├── urls.py         :app urls
│   └── views.py        :app views
├── templates           :app html templates
└── db.sqlite3          :project database

About

go2people website Amsterdam internship assignment


Languages

Language:Python 85.4%Language:HTML 14.6%