mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 16:46:19 +08:00
e50676caff
This has a basic config to use the new Codespaces feature in GitHub. If you have access to the feature all you need to do is: 1. Visit https://github.com/discourse/discourse 2. Click on Code > Open with Codespaces > New codespace 3. Wait it to prepare the environment 4. Click on File > Run > Run without Debug or press <kbd>CTRL</kbd>+<kbd>F5</kbd> 5. When prompted click on the green pop-up on the lower left to open the running Discourse app in a new tab
13 lines
372 B
JSON
13 lines
372 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Prepare discourse",
|
|
"type": "shell",
|
|
"command": "cd /home/discourse/workspace/discourse && bundle install && yarn && bin/rake db:migrate"
|
|
},
|
|
],
|
|
}
|