DallasUrbanists / dallasurbanists.com

Source code for Dallas Urbanists website (previously known as This Dallas Life)
https://dallasurbanists.com
Apache License 2.0
4 stars 1 forks source link

DallasUrbanists.com website

This is the source code for the Dallas Urbanists website (previously known as This Dallas Life).

Local development setup

You'll need to install:

  1. Docker Desktop
  2. Visual Studio Code

Make sure Docker is running. Then, in VS Code, install the Dev Containers extension.

Clone this repo by running

git clone https://github.com/ThisDallasLife/thisdallaslife.com

and then open it in VS Code.

Now that you have all the pieces, you'll bring it all together by opening the project in a Docker container.

Making changes and viewing locally

You can start a local web server for the website by pressing Ctrl+Shift+B, which runs the build task defined in .vscode/tasks.json.

In your browser, go to https://localhost:4000 to see the site. When you make a change to source code, the site will automatically refresh.

Closing out of local development

You can stop the web server by focusing on the terminal in VS Code that's running the server, and pressing Ctrl+C.

To close out of the Docker container, you can just close out the VS Code window. To verify that the container is no longer running, you can check Docker Desktop.