#schir.us website
- activate virtual environment
- run
pip install -r requirements.txt
- create
/core/.env'
and addSECRET_KEY=your_key
variable to the file.
Run the following manage shell commands in order
python manage.py shell
(To activate shell)
makemigrations
sqlmigrate users 0001
migrate
makemigrations blog
sqlmigrate blog 0001
migrate
-
Blog
- Models
- Categories
- Comments
- Posts
- Snippet Generator Method
- Graphic Generator Method
- Liked by current user Method
- Like method
- Views
- CategoryAutoCompleteView
- PostListView
- PostDetailView
- PostCreateView
- PostDeleteView
- PostUpdateView
- PostSearchView
- Templates
- Base
- List
- Detail
- Add links to author profile
- Delete Popover
- Create
- Update
- Search
- Components
- Like Button
- Add Author Url
- Stylesheets
- Setup scss
- Convert css to scss
- Figure out scss structure
- colors.scss
- select color palette
- components.scss
- .grid
- .snippet
- .button
- .badge
- fonts.scss
- primary font
- secondary font
- lengths.scss
- Javascript
- Like Ajax Method
- Scripts
- Migrations
- Models
-
User
- Models
- Profile
- Views
- ProfileView
- Login
- Logout
- Urls
- Profile
- Login
- Logout
- Models