Makers Academy - Week 11/12 Team programming challenge
Task | Collaborators | Installation Instructions | Mockup |
Production code is generally built by a team of developers. It is important that you leave Makers with the skills needed to work in a team, and this is the primary reason that project weeks exist in the curriculum.
The final projects also provide a safe environment for you to be creative and enjoy exploring new directions with your code.
How to get this project locally:
- Fork this repository, clone to your local machine then change into the directory:
$ git clone https://github.com/Kefuri/MakersPostBox.git
$ cd MakersPostBox
- Load dependencies with bundle:
$ gem install bundle
$ bundle
- Access to the database is controlled by an ORM, ActiveRecord. ActiveRecord rake tasks will are used to migrate the development and test databases.
To migrate the development and test databases, please run the following command:
$ rail db:create
- To poplulate the databases with the appropriate tables, run the following migrations and seeds to add in premade gift packages:
$ rails db:migrate
$ rails db:seed
- Run the app on a local server:
$ rails s
To view the app navigate to: http://localhost:3000/
- Tests were written with RSpec. To run the tests in terminal:
$ cd MakersPostBox
$ rspec