-
Notifications
You must be signed in to change notification settings - Fork 3
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
Better dev env #37
Comments
I can help! Even though I have never done setting up vm myself. |
Great. I'll take the lead, then. Thank you for stepping up. I think we may want to use the combination of vagrant and virtualbox, which has been proven. In the meantime, let's first finish up the existing branches and come back to this issue. This issue doesn't have the highest priority before the workshop on July 29. |
Working on vagrant configurations. |
Been a while! @karingoh, @nutelIa, (optional, but strongly recommended to @calo1), I'm giving you an assignment :) The goal of this assignment is to decide pass / nonpass my assignment. This assignment may take time if you have slow Internet connection, although it's not technically or intellectually challenging. On your command line terminal, first go to your local project repo. If you have changes uncommitted (I guess not, though, because our dev team has had a long break), Once you have your local repo ready, make sure it's up-to-date on master branch.
Switch to
Your repo will now have all the updates I've made on this branch. Go to VirtualBox Downloads. VirtualBox is a free software that creates a virtual computer on your computer memory. We'll use the virtual computer for development environment. Download the latest binary installer for your OS and install it. Go to Vagrant Downloads. Vagrant is a free automation software to set up a virtual computer and configure it as we want. We'll use it to configure our consistent but distributed development environment settings. Download the latest binary installer for your OS and install it. You may remove the installers downloaded once you've completed the installations. Go back to your command line and run this in the project repo.
This command will automatically
following the options I defined. In your terminal, you'll see tons of log messages. Some may look suspicious, but never mind. When it finishes and gives the control back to you, it's time to grade my assignment. The virtual Linux computer is your own development server for this project; yes, we've wanted to separate it from the production server. Now you have your own, you turned it on using Open http://localhost:8888 on your web browser. Click through the links and try everything you want. Again, everything is happening on your local copy of the server, so feel free to test everything without damaging the production server. I won't say it's perfect. Your assignment is that you try all the features and give me your bug report; what's not working as expected. I tested it at the system level, but not at the feature level, so your report will be greatly helpful (@calo1, try to write fake blog posts on it!). When you had enough, run this command on the terminal to turn off the virtual server.
I recommend you switch back to master branch or your own branch.
Let me know if you have any questions. Thanks! |
Thanks to @karingoh's early note on Slack, I learned I can't get the pass decision for the assignment at my first attempt. She said she got internal server error when she tried. I think it's about Django migration. I give you a checklist for your inspection on your virtual Linux machine.
Those steps will hopefully make your local copy of the server running, if my investigation was correct. Let me know how it goes. Thanks! |
One of several shameful aspects of this project is that the development environment shares resources with the production environment. Not all of it, but one of the most critical parts, database. The two environments need to get separated.
This assignment includes:
Waiting for a volunteer.
The text was updated successfully, but these errors were encountered: