- Notifications
You must be signed in to change notification settings - Fork26
License
NotificationsYou must be signed in to change notification settings
slovensko-digital/navody.digital
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Master ide automaticky nastaging.navody.digital
brew install postgresql@14brew services start postgresql@14bundle installyarn installcp .env.sample .envbin/setup
Setup VS CodeRemote Containers
Linux->dockeradocker-compose 1.21+Windows/MacOS->Docker Desktop 2.0+- Visual Studio Code
- Vo VS Code rozšírenieRemote Containers
- Otvoriť projekt vo VS Code
View -> Command Palette- vyhľadať a vybrať
>Remote-Containers: Reopen in Container cp .env.sample .env- Seed databázy
bin/rails db:seed:replant
Prvýkrát sa musí postaviť docker image a vytvoriť docker kontajner, takže to môže s kompilovaním Ruby a inštaláciou balíčkov trvať aj 10 minút. Ďalšie spustenia už potom trvajú rádovo pár sekúnd.
Vo VS Code je možné používať klasický linuxový terminál vo vnútri kontajnera alebo si vytvoriťRun and Debug konfiguráciu pre rails server, ktorá umožní používanie debugera.
Emaily odoslané aplikáciou je možné pozrieť na adresehttp://localhost:3000/letter_opener
bin/rails s
Aplikácia štandardne beží nahttp://localhost:3000
bin/rake
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.