Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku #7

Merged
merged 4 commits into from
Jul 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node app.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This project is the second iteration of a personal project that I have developed while studying to become a programmer at Makers Academy. It allows you to generate random sentence structures and also random sentences.

You can visit the working version of this app [here](https://your-random-chomsky.herokuapp.com/)

Inspired by the early works of linguist Noam Chomsky, this project follows these requirements:
1. Generate random sentence structures
2. Generate random sentences based on random sentence structures
Expand Down
Empty file added css/style.css
Empty file.
2 changes: 1 addition & 1 deletion cypress/integration/features.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe("Home Page", function(){
.contains('This is your random chomsky')
})

it('has a button to reload the page', function(){
it('has a button that reloads the page', function(){
cy.visit('/')
cy
.get('form')
Expand Down
4 changes: 3 additions & 1 deletion views/index.pug
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
html
head
link(rel='stylesheet', href='../css/style.css')
body
br
br
Expand All @@ -11,5 +13,5 @@ html
<center>
form
input(type="submit"
value="Give me another random sentence")
value="Give me another chomsky!!!")
</center>