Skip to content

Commit

Permalink
clean up project by applying prettier, adding gitignore, and adding r…
Browse files Browse the repository at this point in the history
…equirements.txt
  • Loading branch information
RohanJoshi28 committed Jan 2, 2023
1 parent 4e3c7b4 commit 11de30a
Show file tree
Hide file tree
Showing 15 changed files with 1,136 additions and 1,158 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__pycache__
venv
14 changes: 14 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"semi": true,
"trailingComma": "none",
"singleQuote": false,
"tabWidth": 4,
"useTabs": false,
"printWidth": 120,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"bracketSpacing": false,
"bracketSameLine": false,
"arrowParens": "always",
"endOfLine": "auto"
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Upstanders-web

For now, just install flask:

```
pip3 install -U flask
```

To run the code with hot reloading enabled (for debugging):

```
python3 -m flask --app main.py --debug run
```
```
Binary file removed __pycache__/main.cpython-310.pyc
Binary file not shown.
Binary file removed __pycache__/main.cpython-39.pyc
Binary file not shown.
Binary file removed main.pyc
Binary file not shown.
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# for app routing and backend server hosting
flask
# for code formatting
autopep8
13 changes: 8 additions & 5 deletions static/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@ body {
background-color: lavender;
}

h1, h3 {
h1,
h3 {
margin: 20px;
text-align: center;
}

#header-h1, #header-h3 {
color: #A2BAF3;
#header-h1,
#header-h3 {
color: #a2baf3;
}

#about-h1, #about-h3 {
#about-h1,
#about-h3 {
color: #ffffff;
}

h1 {
font-size: 150px;
}
}
Loading

0 comments on commit 11de30a

Please sign in to comment.