spacebase / spacedirectory
Merge of SpaceBase code intended to run on Pantheon, using install drops-8 with Composer on Pantheon. From package pantheon-systems/example-drops-8-composer
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Language:JavaScript
Type:package
Requires
- c3js/c3: 0.4.18
- composer/installers: ^1.5
- cweagans/composer-patches: ^1.0
- d3/d3: 3.5.17
- drupal-composer/drupal-scaffold: ^2.0.1
- drupal/address: 1.4
- drupal/admin_toolbar: ^1.25
- drupal/adminimal_theme: ^1.3
- drupal/auto_entitylabel: ^2.1@beta
- drupal/better_exposed_filters: ^3.0@alpha
- drupal/block_type_templates: ^1.0
- drupal/bootstrap: ^3.7
- drupal/bootstrap_toggle: ^1.0
- drupal/calendar: 1.x-dev
- drupal/captcha_questions: ^1.1
- drupal/cer: ^4.0
- drupal/charts: ^3.0@alpha
- drupal/coder: ^8.2
- drupal/coffee: ^1.0@beta
- drupal/colorbox: ^1.4
- drupal/config_direct_save: ^1.0
- drupal/config_installer: ^1.0
- drupal/console: ^1
- drupal/core: ^8.6.15
- drupal/core_views_facets: ^1.0
- drupal/csv_serialization: ^1.3
- drupal/devel: ^1.2
- drupal/ds: ^3.3
- drupal/empty_page: ^2.0
- drupal/facets: ^1.0@beta
- drupal/focal_point: ^1.0@beta
- drupal/fontawesome: ^2.0
- drupal/fontyourface: dev-3.x#4e7ac385ec74ca1506df727039607a369c02e9cc
- drupal/geocoder: ^2.0@beta
- drupal/geofield: ^1.0@beta
- drupal/google_analytics: ^2.2
- drupal/group: 1.x-dev
- drupal/honeypot: ^1.29
- drupal/image_widget_crop: ^2.1
- drupal/inline_entity_form: ^1.0@RC
- drupal/leaflet: ^1.4
- drupal/leaflet_more_maps: ^1.0@alpha
- drupal/mail_edit: 1.x-dev
- drupal/mailgun: ^1.0@beta
- drupal/mailsystem: ^4.1
- drupal/markup: ^1.0
- drupal/menu_link_attributes: ^1.0
- drupal/metatag: ^1.5
- drupal/migrate_plus: 4.0-beta3
- drupal/migrate_process_extra: 1.x-dev
- drupal/migrate_source_csv: ^2.0
- drupal/migrate_tools: 4.0-beta3
- drupal/nocaptcha_recaptcha: 1.x-dev
- drupal/paragraphs: ^1.5
- drupal/password_policy: 3.x-dev
- drupal/pathauto: ^1.0
- drupal/permissions_by_term: ^2.6
- drupal/private_message: 2.x-dev#104ecb59eb8650c22555b1c9ce9010276f5a7b9f
- drupal/publishcontent: 1.1
- drupal/riddler: ^1.1
- drupal/schema_metatag: ^1.3
- drupal/search_api: 1.13
- drupal/simple_block: ^1.0@beta
- drupal/simple_menu_icons: ^2.1
- drupal/smart_trim: ^1.1
- drupal/social_api: ^2.0
- drupal/social_auth: ^2.0
- drupal/social_auth_google: ^2.0
- drupal/stage_file_proxy: ^1.0@alpha
- drupal/taxonomy_import: ^1.0
- drupal/token: ^1.1
- drupal/twig_tweak: ^2.0
- drupal/video_embed_field: ^2.0
- drupal/video_embed_media: ^2.0
- drupal/views_block_filter_block: 1.x-dev
- drupal/views_bulk_operations: ^2.3
- drupal/views_field_view: ^1.0@beta
- drush-ops/behat-drush-endpoint: ^9.3
- drush/drush: ^9.6
- pantheon-systems/quicksilver-pushback: ~1
- rvtraveller/qs-composer-installer: ^1.1
- zaporylie/composer-drupal-optimizations: ^1.0
Requires (Dev)
- behat/behat: 3.*
- behat/mink: ^1.7
- behat/mink-extension: ^2.2
- behat/mink-goutte-driver: ^1.2
- dealerdirect/phpcodesniffer-composer-installer: ^0.5.0
- drupal/coder: ^8.3.1
- drupal/drupal-extension: ^3.1
- guzzlehttp/guzzle: ^6.0@dev
- integratedexperts/behat-format-progress-fail: ^0.2
- integratedexperts/behat-screenshot: ^0.7
- jcalderonzumba/gastonjs: ^1.0.2
- jcalderonzumba/mink-phantomjs-driver: ^0.3.1
- mikey179/vfsstream: ^1.2
- overtrue/phplint: ^1.0
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ^3.4.0
- symfony/css-selector: ^2.8
Conflicts
Replaces
This package is auto-updated.
Last update: 2025-03-10 04:33:51 UTC
README
SpaceDirectory is an Open-Source directory based on Spacebase.co. SpaceBase is a directory of local content, regional data, projects, and reports.
SpaceDirectory is built with Drupal 8, using composer, largely built around the Group module. This repository will help you get SpaceDirectory up using Circle CI, Lando and Pantheon. The code is not locked to Pantheon, GitHub or CircleCI — SpaceBase started with GitLab, Platform.sh and Lando.
To set up using Pantheon, this repository should be cloned using Terminus and not git clone.
A linux-hosted demo: http://demo1.spacebase.co/
Quick Start - Make a demo site on Pantheon
Step 1: Create accounts and get access tokens.
Follow this document precisely until you get to the point where you have access tokens:
https://pantheon.io/docs/guides/build-tools#before-you-begin [should probably backup that document in case it changes...]
Make sure to install Composer globally rather than locally, otherwise you'll run into errors later.
Step 2: Add the access tokens to your current local environment
Replace the your-thing strings with your tokens and sitename and run the following (NOTE: Pantheon doesn't allow capital letters in the SITENAME. Also, your sitename has to be unique on all of Pantheon.):
export GITHUB_TOKEN=yourtoken`
export CIRCLE_TOKEN=yourtoken`
export SITENAME=choose-your-sitename`
Step 3: Use terminus
to clone our repository onto Pantheon so you can launch your Drupal site.
Before you run terminus, verify that you are set up to use the correct accounts:
terminus auth:login
terminus auth:whoami
Run exactly this terminus command:
terminus build:project:create --stability dev spacebase/SpaceDirectory $SITENAME 2>&1 | tee terminuslog.txt
[ Note: We can hack the terminus program to keep the git history. Get the version of terminus stephen is using, then add --preserve-local-repository
to above command. Solution is still under consideration.]
That command should do a lot: creates a new GitHub repository and a new Pantheon demo site, integrated by CircleCI.
Visit CircleCI - you should have a workflow now. Visit Github.com - you should have a repo with your sitename Visit Dashboard.pantheon.io - you should have a new pantheon site (unless you ran out of sandboxes)
If you don't have all of those, read through terminuslog.txt to find where things went sideways, or run it again with option -vvv
to get more debug info.
The last lines of text should point you at your new github repository.
Step 4: Load the database at Pantheon and start using Drupal [ Easy Drupal ]
We have a demo database here: http://demo1.spacebase.co/dumpfile_less_content.sql @ToDy: further prep demo1 content.
Import our database either in in Pantheon panel, or try terminus (we had problems w/ command line):
terminus import:database $SITENAME.dev http://demo1.spacebase.co/dumpfile_less_content.sql
Possibly useful commands:
terminus drush $SITENAME.dev cr
terminus drush $SITENAME.dev uli
terminus drush $SITENAME.dev updatedb
You’ve now got your working copy of the SpaceBase distribution.
Since our database is likely a bit dated, you might want to set up your local dev environment and run composer update. Detailed instructs in the 'Lando' section below, which can act as a tutorial for other development work.
The top of the README.md on Github should have your CircleCI, Pantheon dashboard and site (“dev” at Pantheon, use Pantheon tools to make it live.)
And that's the quick start! Even more notes available on the wiki