Comments (9)
current status: I am following the basic directions on https://www.drupal.org/node/27882.
I have a local copy of the site in a VM and used wget to pull everything out. The biggest issue currently is that all files have hard coded urls to the prod url. These either need to be changed or they need to be replaced with the new relative url.
from drupal-govcon-2017.
@mikemadison13 you should be able to do a quick find replace in PHPstorm to get that done without too much pain and suffering
from drupal-govcon-2017.
yeah @aweingarten, it's more a question of "what to make it"
from drupal-govcon-2017.
@mikemadison13 an you document which tool you used from the directions on d.o. and the exact command and anything else that might be useful?
from drupal-govcon-2017.
Essentially:
- setup local copy of site (including repo, vm, files, and db). note: the 2016 version of the site has an older version of DrupalVM and I couldn't actually provision it. I instead used the 2017 d8 site's VM temporarily for the 2016 site.
- installed wget using homebrew
- installed the disable all forms module (http://drupal.org/project/disable_all_forms)
- ran wget:
wget -q --mirror -p --adjust-extension -e robots=off --base=./ -k -P ./ http://example.com
- Did some basic search / replace methods to get rid of the hard coded URL for the site
from drupal-govcon-2017.
current activity is trying to get the .htaccess redirects working per @aweingarten's request.
from drupal-govcon-2017.
I've just committed PR #77 for the 2015 site. The changes to .htaccess will likely conflict with yours, but we should be able to resolve that relatively easily. I included these lines as well to catch the path with and without the / (slash) since in my environment it wasn't loading index.html.
RewriteCond %{REQUEST_URI} ^/drupal-govcon-2015 [NC]
RewriteRule ^drupal-govcon-2015/?$ /drupal-govcon-2015/index.html [NC,R,L]
# Redirect GovCon 2015 path with or without / to index.html
from drupal-govcon-2017.
Update: Due to issues with the original WGet method, I've gone with the same HTTrack method that @timwood used. However, that method failed against the public stage/prod sites, so I had to rebuild my local environment.
from drupal-govcon-2017.
from drupal-govcon-2017.
Related Issues (20)
- Add Open Graph Markup to site
- Permit Authenticated users to delete own GovcCon Registration
- Remove field level permissions from Event date HOT 1
- When "user sessions" is empty, hide block HOT 3
- Check-in: Improve exposed filters and flagging language
- My Session Schedule: follow-up fixes HOT 4
- My Session Schedule-Config Test
- Time Zone display
- Add link to 'My Schedule' from main Schedule HOT 1
- Schedule and My Schedule views: add to / remove from schedule flag links
- Add Role Displays to Menus
- Presenters View Bug HOT 1
- 2018 Look and Feel
- Add 2018 dates to home page HOT 2
- Remove problematic Presenters display from attendees views
- Make Session video display
- Update Node and Node-Sass Versions in Twentyeighteen Theme HOT 1
- DGC-055 403 Issues Revised
- Correct BLT Documentation link in README.md HOT 1
- Add Configuration Change Info to Readme
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 drupal-govcon-2017.