Comments (9)
We should also include resources for T-SQL. It's got quite a few syntactical differences and additional features compared to the Postgres SQL flavor, which would be good to know about if you're going from one to the other.
from standards-and-practices.
Also, the Shift3 dotfiles project sets up PostgresSQL (and Mongo). Many new hires are installing that as it is part of the onboarding process. It's worth including reference to it since it takes care of Postgres on Macs and (many varieties of) Linux.
from standards-and-practices.
@ryekerjh Ive always thought that Digital Ocean had some of the better docs regarding the installation process on the Linux side: https://www.digitalocean.com/community/tutorial_collections/how-to-install-and-use-postgresql Maybe we can start with that?
from standards-and-practices.
I am thinking for MSSQL, we could go over how to create it and which version one should chose for a project via:
- Developer edition
- Express
- MS Server
I am also thinking Microsoft own documentation may be the best starting point for this:
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
They even have a docker instance.
Thoughts? What has been the hardest part of setting up a MSSQL instance in past projects?
Would we also want to expose the developer to SSMS at the same time or in a separate page?
from standards-and-practices.
Generally if we're using MSSQL, it's because a client is self-hosting their infrastructure. In those cases we would be connecting to SQL Server in a Windows environment, often on a private network through a VPN.
I think we should hit this from two angles:
- If you're developing on Windows, for Windows, use the latest SQL Server Developer edition and SSMS (or dbeaver).
- If you're developing NOT on Windows, or not FOR windows, use a dockerized MSSQL instance (and SSMS or dbeaver).
How do those sound as starting points?
from standards-and-practices.
We should also include resources for T-SQL. It's got quite a few syntactical differences and additional features compared to the Postgres SQL flavor, which would be good to know about if you're going from one to the other.
Thats a good idea. MSSQL, PostgresSQL, MySQL, Oracle, DB2 ....all have slightly different syntax. Im wondering if that should be its own issue as well, since this issue is about the setup process.
from standards-and-practices.
It might still be worth dockerizing MSSQL. For the .NET Core projects I've done at Shift3, it has been convenient to have the database dockerized, because it allows for portability and development on multiple architectures, including Windows. It's nice to have the option, especially since new developers might join a project and not develop only on Windows. Obviously, this refers to Core and not Framework.
from standards-and-practices.
For the MSSQL Docker solution, I started to make some instructions, but then ran across the official docs here:
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-docker-container-deployment?view=sql-server-ver15&pivots=cs1-bash
Ill be honest, they are pretty good and no real issues getting it up and running for both 2017 and 2019 versions.
I am thinking of just adding that link to Github like we did with all the other resources on best-practices/database/README.md
Example setup page: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-2017&pivots=cs1-bash
and then making a separate pages describing the differences between the syntax and tools that work well with each setup.
from standards-and-practices.
I believe setting up SQL is complete. I believe we can move on to T-SQL and other referenced projects.
from standards-and-practices.
Related Issues (20)
- QA Sprint #1 Acceptance Test
- [Feat]: Terraform and CircleCI to setup QA environments for each feature branch HOT 1
- [bug]: Typos in developer-accountability.md
- [bug]: Content Structure Needed for: /standards/bug-reporting.md
- [Suggestion] Problem solving for developers
- [bug]: Titles should start with an uppercase
- [bug]: Spacing & Punctuation
- [bug]: react links are 404-ing
- [Refactor] move the problem solving subsection into different github page.
- [bug]: Nativescript + Angular urls no longer exist HOT 1
- [bug]: Fix the View On GitHub button location on the gh-pages site
- [Feat]: Contributing outside our organization
- [Feat]: Update QA Sprint Process
- [bug]: Accessibility README typos
- [Feat]: Add links to resources section of code review standards
- [bug]: Links in standards are https and not relative
- [bug]: https://images.nativescript.rocks/ no longer works
- [Docs]:
- Consistent spelling of GitHub HOT 2
- [Feat]: Explore auto-assigning PR-Team to reviews HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standards-and-practices.