Skip to content

CodePath-Tech-Exchange-CTEx/lab-4.2-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 4.2.1 - Playing with HTML and CSS

How to run manually (dynamic reloading)

In the terminal, use cd to change into the project directory (where this README is).

cd <project-directory>

Run the script to start the Flask server. This command will install dependencies and start a server that will watch for changes. You only need to run this once, make changes, and reload your local webpage to see your changes.

./run-flask.sh

If you run into a permissions error, run the following command then try again.

chmod 777 run-flask.sh

How to run using Docker

In the terminal, use cd to change into the project directory (where this README is).

cd <project-directory>

Build the Docker container image.

docker build -t flask-wiki .

Run the Docker container image. You will need to re-run the docker run command after making your changes.

docker run -p 8080:8080 flask-wiki

Open the link or the web preview on the correct port and you should see the app!

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors