Skip to content
/ www Public

[MIRROR] SFI website

License

Notifications You must be signed in to change notification settings

sfikrakow/www

Folders and files

NameName
Last commit message
Last commit date

Latest commit

52220a5 · Mar 17, 2023
Mar 17, 2023
Mar 16, 2023
Feb 27, 2021
Nov 29, 2022
Dec 27, 2020
Nov 19, 2020
Dec 1, 2020
Apr 14, 2021
Apr 11, 2021
Jan 4, 2021
Feb 25, 2021
Apr 29, 2020
Apr 7, 2021
Nov 30, 2020
Apr 13, 2020
Apr 15, 2021
Nov 30, 2020
Apr 6, 2021
Dec 1, 2020
Apr 15, 2021

Repository files navigation

SFI nextgen webpage

Development setup

Shell (quick setup)

git clone https://git.sfi.pl/scm/www/wwwsfi.git
cd wwwsfi
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py sync_page_translation_fields
python manage.py update_translation_fields
yarn install
yarn dev
python manage.py runserver #in second terminal

(alternative) setup with PyCharm

  • (from start screen) Get from version control
  • Git -> url https://git.sfi.pl/scm/www/wwwsfi.git
  • Select manage.py in project tree
  • Configure Python interpreter (just on top of the editor)
  • Add interpreter -> New environment -> OK
  • Wait for the project to get indexed
  • Open Terminal (not Python Console) in PyCharm
  • Verify that the prompt starts with (venv)
  • (in terminal)
pip install -r requirements.txt
python manage.py migrate
python manage.py sync_page_translation_fields
python manage.py update_translation_fields
yarn install
yarn dev &
  • Click on the manage.py, PyCharm should reindex the project
  • Add Configuration... -> + -> Django Server -> OK