This is a social media website built using django.
- Email me at: [email protected]
- python3.8 or higher
- pipenv
- Get it by running pip install pipenv
- Clone the repo or fork it and then clone from your profile.
- Cd into IceBook-Django
- Create a new branch by doing the following:
- git checkout -b branch_name
- Go to directory where the pipfile is and run pipenv sync --dev
- Activate pipenv by doing pipenv shell
- Go into the src folder where the manage.py sits and run the following:
- python manage.py makemigrations
- python manage.py migrate
- Create super user by doing the following:
- python manage.py createsuperuser
- You need to manually create a profile for your user(this will be automated in the future.).
- Go the the folder icebook where the settings.py file sits and create a file called .env
- Add the following inside the file:
SECRET_KEY = 'secret_key_here'
- Go the folder where your manage.py sits and the following commands to run the server:
- python manage.py runserver or
- pipenv run start
- Requires Node.js. Install -> https://nodejs.org/en/
- cd into icebook/frontend/ folder.
- Run npm run sass_compile to compile all SCSS to CSS.
- If you want to edit the SCSS, run npm run sass to enable watch feature.