Installing Django and configuration - Building a SaaS using Django and Vue.js - Part 1

  Рет қаралды 11,410

Code With Stein

Code With Stein

Күн бұрын

In the first part of "Building a SaaS using Django and Vue.js" I'm going to install Django inside a virtual environment. I will also create an empty project and do some structuring.
I will also install Grunt and show how we can compile the styles for this project.
#django #python #vuejs #saas

Пікірлер: 30
@dalestewart
@dalestewart 3 жыл бұрын
Excellent tutorial implementing the steps installing Grunt and showing how we can compile the styles for this project.👍
@CodeWithStein
@CodeWithStein 3 жыл бұрын
Thank you Dale :-D
@MrCandongas
@MrCandongas 4 жыл бұрын
Awesome tutorial , i never had work with grunt before... thanks for share with us !
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Thanks for the feedback 👍😁
@atozoo7
@atozoo7 4 жыл бұрын
Nice stuff.. one feedback though: use some zoom in feature or bigger fonts. Anyway, Thanks for this.!!
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Hi and thanks for the feedback. I will try to keep this in mind in the future :-)
@shawanish
@shawanish 2 жыл бұрын
good content. the grunt part has not aged well.
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks 😁 haha
@shawanish
@shawanish 2 жыл бұрын
@@CodeWithStein the rest of the content is phenomenal. Helps clearly walking through the process of creating related and more complex content. Awesome
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thank you 😁😁
@synapps.filip.gorczynski
@synapps.filip.gorczynski 4 жыл бұрын
In case of repeatability of this project structure for media you can use `mkdir -p media/assets/{styles,js,images}`
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Nice, thank you :-)
@synapps.filip.gorczynski
@synapps.filip.gorczynski 4 жыл бұрын
@@CodeWithStein Moreover, when you find project structure that suits all your needs you can create custom Cookiecutter project template, so you can start project with everything you like with just a few keystrokes.
@juiceworld1175
@juiceworld1175 3 жыл бұрын
9:10 Running "sass:dist" (sass) task Warning: The "path" argument must be of type string. Received undefined Use --force to continue. this error message comes after running grunt. I have tried many things but this error appears every time.
@CodeWithStein
@CodeWithStein 3 жыл бұрын
Hmm, did you fix it?
@mamadoumoustaphabarry2998
@mamadoumoustaphabarry2998 2 жыл бұрын
I have the same problem
@CodeWithStein
@CodeWithStein 2 жыл бұрын
It might be because the video starts to Get old. Try upgrading your node version 🙂
@abhishekbhusal4497
@abhishekbhusal4497 3 жыл бұрын
at the end the white color doesn't add to the css file automatically. Everything went fine till the end but it's not updating the code after adding the white color.
@CodeWithStein
@CodeWithStein 3 жыл бұрын
Hi, that sounds weird. Any error messages?
@poojakayyalathodi5544
@poojakayyalathodi5544 4 жыл бұрын
such a helpful tutorial although i cant seem to do the grunt part it says command not found
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Hmm that's weird :/ you could skip that part and use regular CSS if you want. The problem is most likely that you haven't installed grunt or grunt-cli correctly. I don't have my mac here, so it is hard to help you :/ but you might find help if you try to google something like: grunt command not found 😉 good luck!
@packo280349
@packo280349 4 жыл бұрын
@@CodeWithStein hello i have the same issue :'( can i continue , cuz i tried to install grunt but does not works any way
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Hi! Yes, you can just continue if you want to :-) It's not necessary with grunt/sass for this tutorial, you can use regular css if you want to. If you want to keep trying to install grunt, check out the comments from Joao Neto and Cocoabine here on the video, maybe those comments can help?
@hawraarsancollage
@hawraarsancollage 3 жыл бұрын
SHOW HOW TO INSTALL THIA SOFTWARE TO MAKE A FULL PROJECT
@CodeWithStein
@CodeWithStein 3 жыл бұрын
Hi! What software are you thinking about? :-)
@iebstudent
@iebstudent 4 жыл бұрын
running 'grunt' I get Warning: Task "default" not found. Use --force to continue. (Ubuntu 20.04)
@CodeWithStein
@CodeWithStein 4 жыл бұрын
I guess you might have forgotten something in the Gruntfile.js? Does it look like this (I guess the code doesn't look good here in the comments)? module.exports = function(grunt) { grunt.initConfig({ sass: { dist: { options: { style: 'compressed' }, files: { 'static/styles/main.css': 'media/assets/styles/main.scss' } } }, watch: { sass: { files: ['media/assets/styles/*.scss'], tasks: ['sass:dist'] } } }); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('default', ['sass:dist']); }; - I hope this works for you. If not, you can find my e-mail address in the information section for my channel. If you send me your Gruntfile.js file there, I'll have a look at it :-)
4 жыл бұрын
Warning: You need to have Ruby and Sass installed and in your PATH for this task to work npm install --save node-sass grunt-sass
@the_wrong_folder
@the_wrong_folder 4 жыл бұрын
Grunt is very similar to Gulp.js
@CodeWithStein
@CodeWithStein 4 жыл бұрын
Yes it is 👍🏻
The front page view - Building a SaaS using Django and Vue.js - Part 2
12:48
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
What if all the world's biggest problems have the same solution?
24:52
Deploying a Vue.js and Django 3 application to a VPS - Part 1
18:46
Code With Stein
Рет қаралды 10 М.
Daniel Bader - Building and Launching a SaaS Product with Python in 2 Weeks
28:13
Insane Theoretical Physics Discussion with ChatGPT and DeepSeek
4:59
Unzicker's Real Physics
Рет қаралды 30 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 228 М.
I Built a Web Scraper Using Python....
10:07
Cyb3rMaddy
Рет қаралды 7 М.