This is the development repo for PINKVOMIT.
To run this project you will need the following locally installed:
- Node and NPM
- MySql
- An sql workbench (I use dbeaver, it's universal and works with MySql, it's also free)
- clone the git repo to your local machine
- in your terminal, navigate to the repo and run
npm install - create a local mysql database (setting up your database can either be done through the CLI or through a GUI like dbeaver)
- create a database user that can access your local database using a password
- run
npm run migrations refreshto run all migrations bringing your database up to date (DO NOT USE old.schema.sql, and see the MySql section for a warning about therefreshcommand) - create a .env file following the format of the .env.example file
To run the project simply run npm run dev while in the project directory and go to localhost:3000 in your web browser
When contributing changes:
- Create a new local branch, make sure it is unique from other existing branch names
- Make changes and commit them to your feature branch (please make small commits with descriptive commit messages)
- Push your changes to the repo
- Create a pull request to pull your changes into either main or another feature branch if it's a part of a larger featureset still in development
- Answer questions, make changes, etc until your changes are either rejected or pulled into the requested branch