Sylius - Basic configuration - API documentation - The Book
Resources - Adobe XD Design Layout of Shop
Config
- MariaDB Database name : JSNDB
- JSNDB
- Username: root
- Password: root
- Port: 3307
- Sylius Admin
- Username: chris
- Password: asdf1234
- Django/Wagtail Admin
- Username: chris
- Password: asdf1234
- Paypal Sandbox
- Email: sb-3o9ow32655766@business.example.com
- Password: #RE<7Y-q
- Test Card Number: 4032034336993236
- Test Card Expiry: 10/2029
- Test Card CVV: Any 3 digits
- PostgreSQL
- Password: 12Chris34
- Server jsnuyda
- root : Foneria702!!
- Arda
- Users
- root:
- jsnuydadmin: Montjuic702!!
- Git Token
- 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
Procedures
- To run Symfony server
1. Navigate to "/Users/chris/JustinNuydaEcomm" in terminal
cd "/Users/chris/JustinNuydaEcomm"
2. Run the Symfony server
symfony server:start
- To push to git
1. git add .
2.git commit -m "Your commit message"
- To pull from git
1. git pull origin main
- Other git commands
- Check which branch you're on:git branch
Restart Postgresql:
- sudo systemctl restart postgresql
-sudo systemctl restart gunicorn
- sudo systemctl restart nginx
-sudo nginx -t
- sudo systemctl daemon-reload
Edit gunicorn service file:
sudo nano /etc/systemd/system/gunicorn.service
sudo journalctl -u gunicorn.socket
journalctl -u gunicorn --since "5 minutes ago"
Edit Nginx configuration file:
`sudo nano /etc/nginx/nginx.conf
Digital Ocean Welcome to DigitalOcean's 1-Click Django Droplet. To keep this Droplet secure, the UFW firewall is enabled. All ports are BLOCKED except 22 (SSH), 80 (HTTP), and 443 (HTTPS).
Access the Django admin site URL: http://137.184.1.27/admin User: django Pass: 29568099a665fecf38a1a7dac5bffff0
Use these SFTP credentials to upload files with FileZilla/WinSCP/rsync: Host: 137.184.1.27 User: django Pass: 29568099a665fecf38a1a7dac5bffff0
Django is configured to use local Postgres as its database. Use the following credentials to manage the database: Database: django User: django Pass: 02e2b6b41eaef32600f08bd584ad0e42
In a web browser, you can view: * The Django 1-Click Quickstart guide: https://do.co/3bY3b67#start * The new Django site: http://137.184.1.27
On the server: * The Django application is served from /home/django/djangoproject * The Django passwords and keys are saved in /root/.digitaloceanpasswords * Certbot is preinstalled. Run it to configure HTTPS.
For help and more information, visit https://do.co/3bY3b67
To delete this message of the day: rm -rf /etc/update-motd.d/99-one-click root@justin-nuyda-com:~#
Digital Ocean SSH SHA256:S/79iDkJ5/TRBf1phh/IckXbiKuHM2vCRvd3GlxzXvY chris.yuhico@gmail.com
public ssh
Digital Ocean DB: username: chris password: 12Chris34
source venv/bin/activate
/etc/nginx/sites-available/dashboard