- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
May 23 2016
May 23 2016
Docker instructions in README
dereckson closed D382: Docker instructions in README by committing rGROVEa889e0d62a8f: Docker instructions in README.
May 22 2016
May 22 2016
Improved README
Every required field in resources/views/auth/ has already a required attribute.
| 1 | #!/bin/sh |
|---|---|
| 2 | |
| 3 | # ------------------------------------------------------------- |
| 4 | # Auth Grove |
| 5 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 6 | # Author: Sébastien Santoro aka Dereckson |
| 7 | # Project: Nasqueron |
| 8 | # Created: 2016-05-21 |
| 9 | # Description: SSO for Nasqueron services. |
| 10 | # Image: nasqueron/auth-grove |
| 11 | # Services used: MySQL server (acquisitariat) |
| 12 | # Docker volume (/data/notifications/storage) |
| 13 | # ------------------------------------------------------------- |
| 14 | |
| 15 | # ------------------------------------------------------------- |
| 16 | # Container parameters |
| 17 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 18 | |
| 19 | INSTANCE_NAME=login |
| 20 | PORT=25080 |
| 21 | MYSQL_INSTANCE=acquisitariat |
| 22 | STORAGE=/data/login/storage |
| 23 | CANONICAL_URL=http://login.nasqueron.org |
| 24 | |
| 25 | # ------------------------------------------------------------- |
| 26 | # Database parameters |
| 27 | # |
| 28 | # Get credentials from zr |
| 29 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 30 | |
| 31 | MYSQL_HOST=mysql |
| 32 | MYSQL_USER=`ssh -4 -i /root/.ssh/id_zr zr@ysul.nasqueron.org getcredentials 67 username` |
| 33 | MYSQL_PASS=`ssh -4 -i /root/.ssh/id_zr zr@ysul.nasqueron.org getcredentials 67` |
| 34 | MYSQL_DB=$INSTANCE_NAME |
| 35 | |
| 36 | # ------------------------------------------------------------- |
| 37 | # Run the container |
| 38 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 39 | |
| 40 | # Checks container isn't running |
| 41 | docker-container-status $INSTANCE_NAME > /dev/null |
| 42 | if [ "$?" -lt 2 ]; then |
| 43 | echo "Container is already running." |
| 44 | echo "To force relaunch, try docker stop $INSTANCE_NAME ; docker rm $INSTANCE_NAME ; $0" |
| 45 | exit 1 |
| 46 | fi |
| 47 | |
| 48 | mkdir -p $STORAGE |
| 49 | chcon -Rt svirt_sandbox_file_t $STORAGE |
| 50 | chown 431:433 $STORAGE |
| 51 | docker run -t -d \ |
| 52 | --link $MYSQL_INSTANCE:$MYSQL_HOST \ |
| 53 | -p $PORT:80 \ |
| 54 | -e DB_HOST=$MYSQL_HOST \ |
| 55 | -e DB_DATABASE=$MYSQL_DB \ |
| 56 | -e DB_USERNAME=$MYSQL_USER \ |
| 57 | -e DB_PASSWORD=$MYSQL_PASS \ |
| 58 | -e CANONICAL_URL="$CANONICAL_URL" \ |
| 59 | --name $INSTANCE_NAME nasqueron/auth-grove |
| 60 | |
| 61 | echo "Deployment done at `date`." |
| 62 | exit 0 |
app.url setting is for CLI links
dereckson closed T839: Current URL detection code in views aren't coherent, a subtask of T271: Deploy Auth Grove to login.nasqueron.org, as Resolved.
dereckson committed rGROVE0074a0737b75: Set session cookie name to auth_grove (authored by dereckson).
Set session cookie name to auth_grove
dereckson retitled D381: Set session cookie name to auth_grove from to Set session cookie name to auth_grove.
dereckson moved T839: Current URL detection code in views aren't coherent from Backlog to Working on on the Auth Grove board.
May 21 2016
May 21 2016
dereckson committed rDGROVEcc41e132174a: Initial revision for Auth Grove's Docker image (authored by dereckson).
Initial revision for Auth Grove's Docker image
npm:
- install Gulp globally
- run npm install in Dockerfile, not in container launch time setup
Disable gulp-notify
dereckson closed T838: Disable gulp-notify as Resolved by committing rGROVE4612c989164f: Disable gulp-notify.
dereckson closed T838: Disable gulp-notify, a subtask of T271: Deploy Auth Grove to login.nasqueron.org, as Resolved.
dereckson added a parent task for T835: Commit storage/ folder: T271: Deploy Auth Grove to login.nasqueron.org.
dereckson added a parent task for T837: Investigate gulp issue to minimize CSS: T271: Deploy Auth Grove to login.nasqueron.org.
dereckson added a parent task for T836: Update MySQL users table in migration: T271: Deploy Auth Grove to login.nasqueron.org.
Can't repro with Node 6.
dereckson committed rGROVE8de37f6f70c0: Start user accounts ID with a large value (authored by dereckson).
Start user accounts ID with a large value
dereckson closed T830: Start user accounts ID with a large value as Resolved by committing rGROVE8de37f6f70c0: Start user accounts ID with a large value.
Spaces
Migrate test
$ php artisan migrate Migrated: 2016_05_21_224200_set_users_table_auto_increment $ php artisan tinker >>> DB::select("SHOW CREATE TABLE users"); => [ {#698 +"Table": "users" +"Create Table": """ CREATE TABLE `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `fullname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(60) COLLATE utf8_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=1000000000 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci""" } ]
dereckson committed rGROVEce387050c995: Update database schema for users table (authored by dereckson).
Update database schema for users table
dereckson closed T836: Update MySQL users table in migration as Resolved by committing rGROVEce387050c995: Update database schema for users table.
Tested on the D375 test container, works fine.
- install last Node 6 version through Nodesource distribution
- npm install
dereckson added a revision to T836: Update MySQL users table in migration: D378: Update database schema for users table.
Create storage/ hierarchy
dereckson closed T835: Commit storage/ folder as Resolved by committing rGROVE9fc8e63f2143: Create storage/ hierarchy.
dereckson closed D377: Create storage/ hierarchy by committing rGROVE9fc8e63f2143: Create storage/ hierarchy.
Dwellers
$ mysql-acquisitariat-client Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 25258597 Server version: 5.7.11 MySQL Community Server (GPL)
dereckson added a revision to T271: Deploy Auth Grove to login.nasqueron.org: D376: 502 for login.nasqueron.org.
@Sandlayth So to test it, this will be exactly the same than https://pad.nasqueron.org/502.html
dereckson moved T271: Deploy Auth Grove to login.nasqueron.org from Backlog to Working on on the Servers board.
dereckson moved T271: Deploy Auth Grove to login.nasqueron.org from Backlog to Working on on the Nasqueron Docker deployment squad board.
If you need more, you can browse the site adding that to /etc/hosts or C:\WINDOWS\system32\drivers\etc\hosts:
The quick reply is normal, i l learned from the best.
dereckson closed T407: DNS configuration for mail.nasqueron.org, a subtask of T404: Install a mail server on Dwellers, as Resolved.
Closing remaining bioty.co tasks as won't fix per T833.
dereckson moved T656: Ensure every URL is HTTPS or protocol-relative from Backlog to Done on the bioty.co hosting board.
dereckson moved T411: Investigate for a Wordpress caching strategy from Backlog to Done on the bioty.co hosting board.
Done, Let's encrypt certificates renewd successfully for mail servers (now independant certificates).
You're welcome.
In T831#8683, @dereckson wrote:@nidal They/you are going to renew it, we change the domain or we remove the site/mail domain?
dereckson retitled D375: Initial revision for Auth Grove's Docker image from Initial revision to Initial revision for Auth Grove's Docker image.
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator
