Skip to content
 
 

Latest commit

 

History

3,976 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github action status

hexlet-basics

Setup

Requirements

  • docker
  • ruby >= 3.0.0
  • make
  • node
  • caddy
  • biome (in editor, for linting)

Run

# /etc/hosts 127.0.0.1 code-basics.test
# make setup-macos or make setup-ubuntu
make services-start
make setup
make dev # run server
# open code-basics.test

make test # run tests

# load language
# make language-load L=php

make sync # sync locales, types, fixtures

To manage loaded languages and set other settings, you need to sign in (login: full@test.io, password: password)

Dev Tools

Production

Kube access

# make k8s-macos-setup or make k8s-ubuntu-setup
export TWC_TOKEN=<your token>

Deploy

  • Create new tag via command:

    make next-tag
  • Wait notification about ready tag in Slack channel #sideprojects-code-auto or wait Github Actions

  • Change version in k8s/hb-app-chart/values.yaml and then:

    make -C k8s helm-upgrade-app

TODO

  1. switch to yandex postbox (smtp)
  2. theme switcher
  3. https://github.com/DavidWells/analytics
  4. auth: vk id, yandex id, google id (except ru)
  5. switch from ansible vault to helm secrets
  6. upload course image in admin interface (and remove devicon)
  7. configus => dotenv
  8. Check if yandex.market is used
  9. primary keys: integer = bigint
  10. add rss to blog

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

About

Interactive Programming Courses

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages