Skip to content

40Q/40q-university

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

40Q University

Installation

  1. Clone this repository: git clone [email protected]:40Q/40q-university.git && cd 40q-university

  2. Run yarn && yarn build. Watch-out if you are on the right branch

  3. Create trellis/.vault_pass file and ask a PM for the password

  4. Change permissions of that file cd trellis && chmod 600 .vault_pass && cd ..

  5. Initialize trellis and then create dotenv file trellis init & trellis dotenv

  6. Run composer install

  7. Create Valet or Herd link inside project's public folder: cd public && valet link university.40q && cd .. or cd public && herd link university.40q && cd ..

  8. Create MySQL user and database mysql -u root

CREATE DATABASE `university_40q_agency_development`;
CREATE USER 'university_40q_agency'@'localhost' IDENTIFIED BY 'example_dbpassword';
GRANT ALL PRIVILEGES ON `university_40q_agency_development`.* TO 'university_40q_agency'@'localhost';
  1. Install Wordpress: wp core install --url=university.40q.test --title=Example --admin_user=admin --admin_password=admin [email protected]

You should be able to see the site at http://university.40q.test/

DB & Data Sync

  1. Sync your database and files. Go to cd scripts and then ./sync.sh production development --local

Environments

Login URL

Use this sub page to access the wp-admin: /wp/wp-admin.

Development Guidance

  • Create new features branching from main branch.
  • Submit a pull request when you're done with a task, using main as the base branch.
  • Never push to main directly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •