-
-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Quick Start
Stephen Yeargin edited this page Jan 3, 2022
·
1 revision
- Ruby 2.7+
- Bundler
- Node
- NPM
- MySQL
This will get a working site going (without any Chapters)
- Clone the repository
- Copy
.envto.env.local(or.env.<development|test|production>as needed) - Update the file with the
DATABASE_URLcredentials bundle installnpm installbin/rails db:setupbin/rails css:buildbin/rails javascripts:buildrails s
$ rails c
>>> User.create(email: '[email protected]', password: 'your_password_here')
http://localhost:3000/admin
Use the CSV template below for the upload functionality.
name,institution_name,location,website,region,district
Fields:
-
name- Name of the chapter (e.g. Tennessee Kappa) -
institution_name- Host college/university -
location-<City>, <State>of chapter -
website- Website URL, includinghttps:// -
region- Larger grouping of chapters -
district- Smaller grouping of chapters
You can optionally include:
-
slc-(1 or 0)ShowSigEp Learning Communitydesignation -
latitude- Latitude for chapter office/house -
longitude- Latitude for chapter office/house
The console includes a rudimentary script that will use the institution_name (falling back to the location) of a chapter to find it's latitude/longitude by querying Wikipedia. Not meant to be very precise.
$ bin/rails app:geocode_chapters