Skip to content

Hi there. iambenyamin.com is my website and you can find more way to connect with me and read articles about computers programming and so on.

Notifications You must be signed in to change notification settings

iam-benyamin/iambenyamin.com

Repository files navigation

start app on local

compile scss files

install scss with npm install -g scss
change dirctory to app cd project_dirctory/app/ compile files with scss --watch file1.scss:file1.css file2.scss:file2.css
or sass --watch --no-source-map static/css/scss/base.scss:static/css/base.css home/static/css/scss/home.scss:home/static/css/home.css blog/static/css/scss/blog.scss:blog/static/css/blog.css static/css/scss/sections/loading.scss:static/css/loading.css links/static/css/scss/links.scss:links/static/css/links.css portfolio/static/css/scss/portfolio.scss:portfolio/static/css/portfolio.css

start django

pip3 install venv
python3 -m venv env_name
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
"python3 manage.py runserver --settings=config.settings.development" or "python3 manage.py runserver --settings=config.settings.production"

deploy on cpanel

django app

create python app with cpanel python section
import my app wsgi in to passenger_wsgi
clone or pull code
python3 manage.py migrate --settings=config.settings.production \ or python3 manage.py collectstatic --settings=config.settings.production

Database

create user
create db
assign user to db
from cpanel -> database -> PostgreSQL Database

About

Hi there. iambenyamin.com is my website and you can find more way to connect with me and read articles about computers programming and so on.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published