This project is part of a series of projects to be completed by students of Microverse.
As a part of an iteration of project built ontop of one another, you can find specifications about the previous versions below:
v0.1.0 - 'Mostly Static Pages - Chapter 3' - Generation of static and some dynamic pages using Rails. Basic skeleton building of the web app with testing via Minitest and Guard.
v0.2.0 - 'Filling in the Layout - Chapter 5' - Utilisation of the Rails asset pipeline with Bootstrap and SCSS. Generation and routing of the sites pages and links. Testing for site routing added.
v0.3.0 - 'Modeling Users - Chapter 6' - Generation of user models and preliminary structuring of the sites database. Validations and password security implemented with more tests for each.
This project carries on from a previous finished project. Building upon 'Chapter 6 - Modelling Users', from the 'Michael Hartl Rails tutorials'. In this project, we focus on creating the long-awaited user sign-up page which allows for the creation of new users. This is all implemented with Rails form-builders.
- New sign-up forms allow for user creation and saving to the database in one go;
- Redirection to the users profile upon new user creation with flash notices;
- Profile gravatars;
- Validation errors upon signing up are now 'prettified' and displayed to the user
- Greater implementation of integration testing to verify submission behaviour and catch regressions
- SSL configuration for greater secruity and defaulting to Puma for a higher webserver capacity.
- Ruby 2.6.5
- Ruby on Rails 6.0.2.1
- Minitest 5.14.0
- Bootstrap-Sass 3.3.6
- Sass-Rails 6.0.0
- HTML5
- Rubocop 0.79.0
- Heroku 7.39.0
- Puma 3.4.0
- Stickler CI
Head here if you want a quick look around the page. If you want a more in depth look at the code and want to tinker, follow the steps below...
If you want to have a poke around and run this project on your system, you'll have to do a little setup first:
- Make sure you've got Ruby installed. Don't know if you have it installed or how to install it? Follow this guide
- Ensure you machine has the Ruby on Rails gem installed. Need help? Head here.
- Next you will need to install all the Ruby gems that this project require to run.
cd
into the root of this repository and enterbundle install
into your terminal. It might take a minute or two, but it should complete without any errors.
Once all of the above is completed, you're good to start playng around!
To view the webpage itself, you will first have to start the rails server.
- Open your terminal and
cd
into the root directory of this repository, wherever it is you downloaded it to. "Don't know what 'cd' means?" - Enter the command
rails server
into your terminal and hit enter to start the sever (make sure you're still at the root of this repository!). - Now that you have the server running, open your browser and enter/visit
localhost:3000
in your browser to see the homepage. From there you can follow the links and explore around the webpage!
If you have any issues setting up the project or you come across any unintended bugs or problems, please do submit an issue to the Rails Sample App Issue Page
If you want to make your own changes, modifications or improvements, go ahead and Fork it!
- Fork it (https://github.com/Rhelli/Rails_Sample_App/fork)
- Create your working branch (git checkout -b [choose-a-name])
- Commit your changes (git commit -am 'what this commit will fix/add/improve')
- Push to the branch (git push origin [chosen-name])
- Create a new Pull Request
Rory Hellier - GitHub
Give a โญ๏ธ if you like this project!