Artista
A platform for selling or displaying art contents and hiring freelance artists. We know As there is no dedicated platform , normal people suffer to hire freelance artist on different occasions like painting walls etc. Moreover, artist donโt have any place to display their creation free and easily.
Helping the Artists , Saving and Spreading Art
Table of Contents
Getting Started
You can define the . what is the prerequisites . How to install. Also how to run project in your machine
Prerequisites
-
Programming Language
- Python (https://www.python.com/)
-
Framework
- Django (https://www.djangoproject.com/)
-
Package Required
- DJANGO
- DJANGO Rest Framework
- SORL
- Pillow
- HTMLMIN
Install
**(required)
-
Manually Process:
- ** First you must install python in your machine
- ** Clone repository
- Create a virtual environment
- ** Then you install all the package from
requirements.txt
-
Automatic Process:
- ** First you must install Anaconda(https://www.anaconda.com/) open-source distribution
- ** Clone repository
- ** Import
conda-env.yml
as environment in anaconda navigator conda-cheatsheet.pdf
file have some important command for conda. Please check to get some knowledge. How to activate environment using conda command and other things .
How To Run
-
First clone the project
$ git clone https://github.com/Rafat97/Artista.git
-
Install all the requirments
-
Go to project directory
$ cd Artista $ cd artista
-
Opening server to load the website
$ python manage.py runserver
-
after runing
runserver
command the output will show (output will vary based on your machine) -Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). September 21, 2020 - 15:17:42 Django version 3.0.4, using settings 'artista.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK.
-
Copy the url from command and paste into your browser. Then you can see the magic ๐ ๐ ๐ ๐ .
Important Django Commands (Optionals / Knowledgetics)
-
python manage.py runserver (server run)
-
python manage.py makemigrations (database)
-
python manage.py migrate (database)
-
python manage.py loaddata <'jsonFilerelativePath'> (load data)
example :python .\manage.py loaddata fixtures/role.json
Super User
link : {URL}/admin/
user : admin
pass : admin
Extra Software
-
(DB Browser for SQLite) https://sqlitebrowser.org/dl/
-
(Online Db connector/IDE) https://sqliteonline.com/
All Django Commends
Type 'manage.py help <subcommand>' for help on a specific subcommand.
Available subcommands:
[account]
account_unsetmultipleprimaryemails
[auth]
changepassword
createsuperuser
[authtoken]
drf_create_token
[contenttypes]
remove_stale_contenttypes
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
[rest_framework]
generateschema
[sessions]
clearsessions
[staticfiles]
collectstatic
findstatic
runserver
[thumbnail]
thumbnail
Project File Structure
Contributing
Emdadul Haque Rafat97 |
Faraz kabir farazkabir |
Shahriar Tonmoy Shahriar-Tonmoy |
Rezwan Ahmed Rezwan1581 |
See CONTRIBUTING.md
License
See LICENSE MIT